Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
without wait(), the *ProcessState is nil, meaning we can't access the ExitCode(). On Windows, calling wait() introduces a timeout which makes things run slower, which is why we only call wait() in case of an error. That should not be the main use-case. relates to #285
- Loading branch information