about spawn flag

Fredrik Lundh fredrik at pythonware.com
Tue Jan 31 15:52:14 CET 2006


Sinan Nalkaya wrote:

> thank you but also i need a pid.also react like an os.P_NOWAIT.
> if i summarize,
> child proccess immediately returns the pid, if child exits also
> returns the exit/error code :)

    import subprocess

    http://docs.python.org/lib/module-subprocess.html

</F> 






More information about the Python-list mailing list