KpyM Telnet/SSH Server - Forum
Keep Alive Telnet After User Disconnects |
Robert M |
Keep Alive Telnet After User Disconnects |
Sep 11 2006 21:56 |
|
Just wondering if there is a way to keep the shell executable running after the user disconnects from the telnet server.
I am using the telnet server as a order taker and usually after the order is taken I would like to allow the user to close their telnet window. Unfortunately, once they close the telnet window KpyM also terminates the PID for the application they were running.
Any ideas how to allow a user to disconnect while allowing the process they were running to stay alive?
Thank you much in advance,
~Robert
|
Kroum Grigorov |
|
Sep 12 2006 20:01 |
|
Hi,
You can try running your app using "runas.exe", this will start it off the session and it will continue running after the sesion dies. You can combine "runas.exe" with my [url=l0c41://www.kpym.com/blog/2006/09/console-scripting-tool.html]Console Scripting Tool[/url] to automate the runas process. However this will also start the app detached from your console, and you will not be able to monitor it.
Obviously, this is far from perfect solution. I will concider adding session disconnection/reconnection in the next KTS release.
Kroum
|
Perry Prozeniuk |
|
Oct 01 2012 14:35 |
|
I actually seem to be experiencing the opposite problem. When the session ends due to idle timeout or SSH disconnect from the far end only the cmd.exe (and session) applications are closed. Any application that was started from cmd.exe is left as a "zombie". Is there some configuration change I need to do such that when the session is ended the other processes associated with the session job are terminated as well?
I'm using version 1.19c and running on windows 7 professional (32 bit).
Thanks,
Perry
|
Graham |
|
Oct 10 2012 23:13 |
|
I too have the problem where my applications running in the console over SSH are terminated when the timeout is reached. Can I set the timeout to -1, or is there some other option to have them persist past the timeout?
I would also like to be able to close the SSH session and client machine and have the applications continue to run.
Thanks,
|
© 2007 - 2008 Kroum Grigorov