On Tue, Sep 28, 2010 at 12:51:22PM -0000, exar...@twistedmatrix.com wrote: > > If you're removing the code that blocks, then you should be able to stop > using deferToThread. Then you just have to call getProcessOutput to get > your `d` above (or another function that calls it and perhaps adds a > callback or two).
Thanks for the response. I could recognize this option, I just thought that structurally it might odd as only one of them is a defer from a process while others will be from thread. But I guess, it does not matter. I shall try this approach. Thanks, Senthil _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python