You might want to try Python's multiprocessing code, it works very
well. I've had pretty good luck using it with Twisted inside the
processes too. The multiprocessing library handles the work of setting
up the send and receive file descriptors.
On Mon, Apr 12, 2010 at 6:09 AM, Gabriel Rossetti
I'd like to run a python function in a new process, like python 2.6's multiprocessing does. I wanted to use ProcessProtocol, but it seems to only work for executing executables and interacting with them using stdin/stdout/other fds. Is there a way of running a python piece of code in a new process?
Thank you, Gabriel
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python