On Tuesday 30 January 2007 15:57, Shaar Gabriel wrote:
> i read somewhere that os.popen2 is not friendly towards twisted framework,
> and that twisted.internet.reactor.spawnProcess or
> twisted.internet.process.Process should be used.
> i can't undersnad what format the parameter childfds should look like when
> calling those. could somebody show me the equivalent of (stdin, stdout) =
> os.popen2(....) ?
Why don't you use PIL? Then you do not need to create a new sub-process and do
it all within your well-contained Python thread.
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-users mailing list