Hi everybody,

Given the fact that tg/cherrypy is a complicated multi-threaded beast
I'm not sure what the safest way is to launch a separate python
process upon receiving a request. I can't use the scheduler because
the process to be launched depends on the request. Is os.system good
enough? Or one needs popen/fork/etc? I'm being extra cautious because
with apache/mod_python it was a hell of a complicated thing to get
this right, the correct way depended on whether apache is running as
mpm or not, etc, and I don't know tg/cherrypy to this detail.

Any ideas?

Cheers,
Daniel

On something completely different: I wanted to submit a comment on one
of the documentation pages so that it might be improved if others
agreed but commenting is closed so I'll just post it here in the hope
someone finds it useful and adds it: on the page
http://docs.turbogears.org/1.0/HeadersFooters it would be a huge help
if the page http://docs.turbogears.org/1.0/stdvars would be mentioned
as a way to provide variables to every template which is the common
case with headers and footers.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to