[pygtk] plugs and sockets for subprocess

Newell Jensen pillar2012 at gmail.com
Wed Jul 23 15:50:04 WST 2008


Hello all,

I am trying to embed an external app in my pygtk application (the other app
is written in pygtk as well but is from another open source project).  How I
was going about doing this was by using plugs and sockets.  I wanted to use
Python's subprocess module and the Popen class.  I was doing this to start
the other application and I can get back the pid from the Popen object but I
haven't found a way to get back the window id (the program I am executing is
opening up itself in a new window).  Is there a way to get the window id
from the process id or has anyone else figured out how to do this?  Any
suggestions would be greatly appreciated.

Thanks,

-- 
Newell

Before enlightenment, chop wood and carry water
After enlightenment, code and build circuits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20080723/6c0789f8/attachment.htm 


More information about the pygtk mailing list