forked from brettcs/dtrx
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send stdout to /dev/null unless it is needed (#43)
'unrar' produces lots of output to stdout, and previously this output was stored in a pipe with Subprocess.PIPE, which could get filled up, causing everything to hang. Almost all the of the time we do not care what uncompressors are producing on stdout, so just send it to /dev/null. Add a way of stopping this behaviour for the one uncompressor which currently does read the output pipe.
- Loading branch information
1 parent
ca6dbbd
commit c69cbe8
Showing
3 changed files
with
16 additions
and
1 deletion.
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
Binary file not shown.
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