Skip to content

Process blocking and exit codes

Pre-release
Pre-release
Compare
Choose a tag to compare
@g105b g105b released this 26 Mar 22:42
· 47 commits to master since this release

This release consists mainly of unit tests to improve the coverage, but through testing an issue was caught: proc_open opens a process to the system's underlying shell -- not the actual command being run. Because of this, there is no way to know if the command exists or not. There was a bad assumption written inside the exec function checking on a failed execution, but the failure could never occur. Tests added and functionality adjusted to get around this limitation.