Fixes error with pipe sending SIGPIPE to commandline output.