[Twisted-Python] Re: question about threading

Nicola Larosa nico at tekNico.net
Tue Oct 25 09:22:40 MDT 2005


> i need to spawn a thread that executes a couple of binaries (html2ps 
> and ps2pdf) which are generally long-running. after executing those 
> binaries, i need to send a message back to the client that sent the 
> original command to generate the pdf.

You probably don't need threads at all. Look at the "Using processes" HOWTO.

-- 
Nicola Larosa - nico at tekNico.net

I've looked at life from both sides now
>From win and lose, and still somehow
It's life's illusions I recall
I really don't know life at all
 -- Joni Mitchell, Both sides now, Clouds, 1969





More information about the Twisted-Python mailing list