Re: about spawn flag

2006-01-31 Thread Fredrik Lundh
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:/

Re: about spawn flag

2006-01-31 Thread Sinan Nalkaya
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

Re: about spawn flag

2006-01-30 Thread Alex Martelli
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

about spawn flag

2006-01-30 Thread Sinan Nalkaya
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