> Sorry, but I don't see how python is relevant here. What is relevant
> is the threading model of tg/cherrypy regardless of which language is
> used to implement it but maybe I'm misunderstanding you.

Well, threading isn't a concern here - but process management. And it seems 
that unfortunately my answer wasn't correct.

On the python command line, things work as expected:


>>> import subprocess
>>> po = subprocess.Popen(["sleep", "50"])
>>> sys.exit()

[EMAIL PROTECTED]:~$ ps ux
...
1000     14685  0.0  0.0   2716   600 pts/14   S    18:04   0:00 sleep 50

But under cherrypy/a TG app, I wasn't able to do the same. I could 
successfully start a subprocess, but not terminate the TG app without 
terminating the child process - which is bad of course, or better to say not 
what you wanted...

So I think whatever cherrypy does (and  it's cherrypy here, TG itself doesn't 
add to that AFAIK), you have to circumvene it the same way you did for apache 
I presume.

sorry for causing confusion. But maybe I can figure out a way how to make 
things work.

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