KpyM Telnet/SSH Server - Forum
Job Termination
Rob Lowe Job Termination
 
I've just realised that when a telenet/SSH session ends it tears down all the child processes that have been started during the session. Most of the children I'm happy to have killed, but sometimes a daemon process is started that I want to keep running.

It would be really helpful if when the Job is created the JOB_OBJECT_LIMIT_BREAKAWAY_OK flag was specified. Then downstream when I come to create the daemon I could specify CREATE_BREAKAWAY_FROM_JOB to allow it to continue running when the session ends. There should perhaps be an option to control it.

I'd be happy to submit some code to do this if it will be included in the next release.

Rob


Kroum Grigorov
 
Have a look at these posts
http://www.kpym.com/phpbb/viewtopic.php?t=348
http://www.kpym.com/blog/2005/10/ktshowto-start-application-that.html
http://www.kpym.com/phpbb/viewtopic.php?t=71

Kroum


 

© 2007 - 2008 Kroum Grigorov
Powered by phpBB © 2001, 2005 phpBB Group