Capture PID of child process
Bernhard Herzog
bh at intevation.de
Tue Aug 5 12:05:55 EDT 2003
Bernhard Herzog <bh at intevation.de> writes:
> Alternatively you could use a list of strings as the command so that no
> shell is used in the first place, i.e. "prog param" would become
> ["prog", "param"]. This approach has the advantage that you don't have
> to worry about shell quoting but it's less portable because it's not
> even documented (I'll file a bug report for that).
As it turns out, there already is a bug report:
http://python.org/sf/666700
Bernhard
--
Intevation GmbH http://intevation.de/
Sketch http://sketch.sourceforge.net/
Thuban http://thuban.intevation.org/
More information about the Python-list
mailing list