[Twisted-Python] getProcessOutput ok to use in a DeferredList?

Stuart Hungerford stuart.hungerford at anu.edu.au
Mon May 26 02:50:58 EDT 2003

Hi all,

I have an application that uses a bunch of Deferred's to handle
blocking system calls and converting the results of those calls
to HTML.

I'd like to make use of the very neat DeferredList and also the
utility function getProcessOutput(). My understanding is that
getProcessOutput() returns a Deferred that returns a string of
the process output.

Are there any issues with passing a list of getProcessOutput()
results to a DeferredList?  I understand the DeferredList still
needs its own callback registered for completion of the list of

My initial tests with this setup just seem to suspend and not
return, which is almost certainly something I've misunderstood
in using Deferreds.

Has anyone done this before?



:: Stuart Hungerford (stuart.hungerford at anu.edu.au)
:: ANU Internet Futures Group

More information about the Twisted-Python mailing list