Re: Questions about os.waitpid(pid, options) on windows

2011-07-15 Thread Miki Tebeka
If you are spawning the process yourself, you can use subprocess.Popen and then call p.wait() which is cross platform. -- http://mail.python.org/mailman/listinfo/python-list

Re: Questions about os.waitpid(pid, options) on windows

2011-07-15 Thread Christopher Head
On Mon, 11 Jul 2011 20:59:29 -0700 (PDT) Fan wrote: > It seems that waitpid take process handle instead of process id as the > first parameter on Windows. On Unices platform, the first parameter > is process id. > > This interface is a little bit confusing. What's the purpose for such > a desig

Questions about os.waitpid(pid, options) on windows

2011-07-11 Thread Fan
It seems that waitpid take process handle instead of process id as the first parameter on Windows. On Unices platform, the first parameter is process id. This interface is a little bit confusing. What's the purpose for such a design? Thanks a lot, Fan -- http://mail.python.org/mailman/listinfo/