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
--
http:/
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 :)
--
http://mail.python.org/mailman/listinfo/python-list
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 p
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.
thanks.
--
http://mail.python.org/mailman/listinfo/python-list