[Twisted-Python] Question about processes in python

Michael Hudson-Doyle micahel at gmail.com
Mon Apr 12 18:47:15 EDT 2010


On 13 April 2010 03:39, Jason J. W. Williams <jasonjwwilliams at gmail.com> wrote:
> Haven't had any issues yet. Twisted imports occur inside the process
> function. The app was originally written as a purely blocking
> multiprocessing app and rewritten to use Twisted inside the
> sub-processes. It's passed all automated and hand tests without an
> issue. Is there a reason importing Twisted inside sub-process should
> not work?

If you just use Twisted in the subprocesses, that sounds like it
should be fine to me.

If you want a more twisty solution, there's ampoule:
https://launchpad.net/ampoule

Cheers,
mwh



More information about the Twisted-Python mailing list