-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1) If output is piped into `less`, and `less` aborts, then the ensuing EPIPE failures should not cause a panic. See Rust issue: rust-lang/rust#46016 The workaround is to not use `print!()` or `println!()`, unfortunately. 2) Before this change, if any of the child processes has terminated pty-for-each has not really waited for the pid, but only for the closing the terminal pipe. This change makes pty-for-each wait for both. 3) Any non-zero exit status for one or more of the child processes should cause a non-zero exit status from pty-for-each by default. This change implements an exit status of 0xfe if all processes exited with a signal 0xff if all processes exited normally with a non-zero exit status, and 0xfd on mixed situations of the former two.
- Loading branch information
Showing
2 changed files
with
71 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters