You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# cargo about generate --format json | head -n0
thread 'main' panicked at library/std/src/io/stdio.rs:1118:9:
failed printing to stdout: Broken pipe (os error 32)
Expected behavior
cargo about should not panic. Instead it should handle SIGPIPE and exit with exit code 141. See https://github.com/kurtbuilds/sigpipe for an example on how to solve this.
Device:
OS: any unix
Version 0.6.2
The text was updated successfully, but these errors were encountered:
Describe the bug
When encountering SIGPIPE, the program panics. This is almost never correct, but default rust behaviour:
rust-lang/rust#46016
rust-lang/rust#62569
To Reproduce
Expected behavior
cargo about should not panic. Instead it should handle SIGPIPE and exit with exit code 141. See https://github.com/kurtbuilds/sigpipe for an example on how to solve this.
Device:
The text was updated successfully, but these errors were encountered: