Mike Frysinger <vap...@users.sourceforge.net> added the comment:

this would have been nice to have more than once in my personal projects, and 
in build/infra tooling for Chromium OS.  our alternatives so far have been the 
obvious ones: use subprocess.run to capture & return the output, then manually 
feed that as the input to the next command, and so on.  we know it has obvious 
overhead so we've avoided with large output.

we strongly discourage/ban attempts to write shell code, so the vast majority 
of our commands are argv style (list of strings), so the pipes module wouldn't 
help us.

handling of SIGPIPE tends to be where things get tricky.  that'll have to be 
handled by the API explicitly i think.

----------
nosy: +vapier

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue3548>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to