Function uucore::panic::mute_sigpipe_panic[][src]

pub fn mute_sigpipe_panic()
Expand description

Terminate without error on panics that occur due to broken pipe errors.

For background discussions on SIGPIPE handling, see

  • https://github.com/uutils/coreutils/issues/374
  • https://github.com/uutils/coreutils/pull/1106
  • https://github.com/rust-lang/rust/issues/62569
  • https://github.com/BurntSushi/ripgrep/issues/200
  • https://github.com/crev-dev/cargo-crev/issues/287