Finding child pids

Ben Hutchings do-not-spam-ben.hutchings at businesswebsoftware.com
Tue Mar 18 05:22:10 EST 2003


In article <m3d6kq8gsr.fsf at intevation.de>, Bernhard Herzog wrote:
<snip>
[re popen]
> Don't use a string. Use a list of strings with one string for each
> argument. E.g. instead of
> 
> "mycommand arg1 arg2" use ["mycommand", "arg1", "arg2"]
> 
> This has the additional benefit that you don't have to worry about
> quoting.

Aha!  Unfortunately this does not appear to be documented.  (In fact I
don't see any documentation of the type of the command given to popen.)




More information about the Python-list mailing list