Here is the code that i was referring to in a previous email: http://cvs.sourceforge.net/viewcvs.py/*checkout*/traveller/traveller/spawner.py?rev=1.9
I hope this clears up the remaining confusion. On Sat, 2004-07-10 at 19:28, John Russell wrote: > On Sat, 10 Jul 2004 16:36:14 +0200, Danny Milosavljevic > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Am Sam, den 10.07.2004 um 10:23 Uhr -0400 schrieb John Russell: > > > popen* doesn't work because you don't get the child PID. Thanks though. > > > > oh but you do ! :) > > > > pipe = popen2.Popen4(cmd) > > print pipe.pid > > fc = pipe.fromchild > > Ok, I'm sorry, one last question. I tried this but I got an error saying ' > > AttributeError: 'tuple' object has no attribute 'pid' > > which makes sense since pipe is now a tuple of stdout/err and stdin. > So how do I access the pid attribute of the popen4 class that I now > see in the documentation? > > Thanks again for the help. > > > > > cheers, > > Danny > > > > > > > > _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
