Re: [Zope3-Users] problems using os.popen2 in a heavily used utility

2007-03-08 Thread Stephan Richter
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 lo

[Zope3-Users] problems using os.popen2 in a heavily used utility

2007-01-30 Thread Shaar Gabriel
Hi. i have a utility that generates thumbnails for objects that can be displayed as an image (faxes). the part that generates the thumbnail : def generate_thumbnail(self, data): """Return a smaller view of the data stream""" # if data stream is a djvu fil