Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Race condition on execution when context closes
Accessing ProcessState on non-linux operating systems immediately after context cancels can conflict with the Wait() stdlib func: https://github.com/golang/go/blob/36b81acfa19d9fedf6a0cd60c394fd7a7703834e/src/os/exec/exec.go#L511
- Loading branch information