On Tue, Sep 15, 2009 at 6:47 PM, Freddy Martinez Garcia <
fre...@cbm.uo.edu.cu> wrote:

> I wrote my problem in the last message an I wasn't clear with that...
>
>
> Ok... I'm going again... !!!
>
>
> I have a web server... this server was implemented with twisted using
> XMLRPC... when the server start to run, in this moment I did
> "reactor.run()"...
>
>
> well, my server is listening by 8080 port, and when one command had become,
> I catch the command, interpret it, and after I need to run another process
> tu execute the command. To execute another process I have to call
> "reactor.spawnProcess(...)" with its parameters, and after I have to say
> again "reactor.run()
>

No, as was explained you do not have to call reactor.run() again.

Twisted use a global event loop (so to speak), you have one and you start it
once, and when it is running all defereds will execute.
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to