Sinan Nalkaya <[EMAIL PROTECTED]> 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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to