about spawn flag
Alex Martelli
aleax at mail.comcast.net
Tue Jan 31 00:33:47 EST 2006
Sinan Nalkaya <orome.the.valar at gmail.com> wrote:
> hi, i am using os.spawn function, it works well but i need a flag that
> allows function return the process id with exit/error code, is there
> any or how can i do it, i can replace spawn with fork/exec if
> necessary.
os.P_WAIT waits until the spawned process finishes and returns its
exit/error code from the os.spawn call.
Alex
More information about the Python-list
mailing list