[Python-ideas] Function multiple arguments assignment
p.f.moore at gmail.com
Tue Mar 22 15:57:25 CET 2011
On 22 March 2011 10:01, Nick Coghlan <ncoghlan at gmail.com> wrote:
>> subprocess.Popen(["exe"], stdin=stdout=stderr=subprocess.PIPE)
> Hitting a gnat with a hammer.
> Something that may make more sense is a PopenPipe that changes the
> default for stdin/out/err to be distinct pipes rather than inherited
> from the parent (but still able to be set explicitly). It is certainly
> annoying that creating a fully piped subprocess is so verbose.
Yes. This always struck me as a (minor, but annoying) usability issue
with subprocess rather than a difficulty crying out for a new language
Note that part of the problem is all those "subprocess." prefixes.
Using from subprocess import * is so tempting here... :-)
More information about the Python-ideas