> Okay, I know, but what is not clear is how tg/cherrypy works, for
> example if a child process handling a request starts my new process P
> via Popen and I don't want tg/cherrypy to wait for it to finish in
> other words the execution of my controller should continue after
> launching process P, then can I be guaranteed that tg/cherrypy will
> not decide to kill it's child that started process P and thereby also
> kill that? This can happen with apache but if you tell me that
> tg/cherrypy is different that would be cool.

It's python that is different. I'm not sure what apache does - most probably 
it makes itself process group leader or something, and kills all 
subprocesses - but usually, subprocess is fine.

If you want to, you can also try to daemonize the subprocess, the ASPN 
cookbook has a recipe for that. 

Diez

--~--~---------~--~----~------------~-------~--~----~
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