Re: kill a process in XP

2005-02-23 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Dave Brueck <[EMAIL PROTECTED]> wrote: >Tor Erik Sønvisen wrote: >>>From my Python-program I spawn a new process. When using P_NOWAIT spawnl >> returns the pid but in windows it returns a process handle. >> Later I want to kill this process. How can I do this when

Re: kill a process in XP

2005-02-23 Thread Dave Brueck
Tor Erik Sønvisen wrote: From my Python-program I spawn a new process. When using P_NOWAIT spawnl returns the pid but in windows it returns a process handle. Later I want to kill this process. How can I do this when I only have the process handle? Try ctypes - if it's really a Windows handle, the

kill a process in XP

2005-02-23 Thread Tor Erik Sønvisen
Hi. >From my Python-program I spawn a new process. When using P_NOWAIT spawnl returns the pid but in windows it returns a process handle. Later I want to kill this process. How can I do this when I only have the process handle? -tores- -- http://mail.python.org/mailman/listinfo/python-list