> I have an app which I want to connect in and run a app that > continually spits out data to stdout. Right now my app works but the > issue is when the client exits the socket connection the /usr/bin/app > still continues to run. The more socket connections made the more this > app is still running. > > Is there anyway from the Echo Procool to kill the run_app() function?
Instead of using run_app (which I assume is in run in a thread?), using reactor.spawnProcess will let you have the process management integrated with Twisted: http://twistedmatrix.com/documents/current/core/howto/process.html _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python