Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added capability for "Direct Piping" - that is, transferring data bet…
…ween 2 processes directly using OS pipes and connecting them with dup2, instead of buffering the output of process 1 into python memory before sending to process 2. This is in response to issue amoffat#119 amoffat#119 The effect can be enabled by setting call arg _piping="direct" on the inner process. I had issues with getting 'Input/Output error reading stdin' from dd, until I set _tty_out=False. In the code I have therefore set _tty_out to False when _piping == "direct". This has caused 3 of the unit tests to fail. test2.py on my PC shows 13s vs 0.5s performance difference
- Loading branch information