[pygtk] gobject.child_watch_add on Windows?

Geoff Bache geoff.bache at jeppesen.com
Mon Jun 23 23:05:34 WST 2008


Hi all,

I couldn't persuade gobject.child_watch_add to work on Windows. I'm 
passing it a process ID as received from subprocess.Popen but it seems 
to want one of those "process handle" things. Is this function only 
meant to work with processes created via gobject.spawn_async?

Problem with process handles is that I don't know how to terminate 
processes from the command line using them, whereas doing it with an 
actual process ID is fairly easy.

Any help appreciated.

Geoff Bache



More information about the pygtk mailing list