Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
termio/exec: call waitpid in process exit callback
Fixes #4554 When a process exited on its own (we didn't kill it), we were not calling waitpid. This commit adds a waitpid call in the event loop process exit notification. This happened because when an external exit happened we could call `subprocess.externalExit` which tells our subprocess manager to NOT kill the process (since its already dead). Unfortunately in this case it means we also didn't call waitpid.
- Loading branch information