[Python-Dev] PEP 324: popen5 - New POSIX process module (original) (raw)

John Williams jrw at pobox.com
Tue Jan 6 10:22:45 EST 2004


This PEP looks fantastic to me; I've often wanted a better set of primitives for working with external processes, and your PEP has just about everything I've ever wanted.

I do have some minor nits to pick, though:

vs.

Popen(..., preexec_fn=lambda: foo(bar,baz))

into this

Popen(*child_args, program=child_program)

Of course I'm not suggesting you change the default behavior of taking argv0 and the program to execute from the first positional argument.



More information about the Python-Dev mailing list