2010-11-08 18:34:42 disown a process using msh and dropbear
Doug Bailey (UNITED STATES)
Message: 95649
I am using dropbear (0.48) as an ssh daemon (via inetd) and using busybox msh as
my system shell.
When I ssh into my box, I want to start a process in the background and then
exit out of the ssh session. Unfortunately, this causes my background process
to die off (as should be expected.)
I would like to use something like "disown" but do not see it in the user build
options. What is the best way to start a process in the background via ssh and
then be able to exit from my ssh session?
Thanks
Dogu Bailey
QuoteReplyEditDelete
2010-11-08 19:26:43 Re: disown a process using msh and dropbear
Mike Frysinger (UNITED STATES)
Message: 95652
use setsid. busybox already includes it.
QuoteReplyEditDelete
2010-11-09 13:52:11 Re: disown a process using msh and dropbear
Doug Bailey (UNITED STATES)
Message: 95707
Works great. Thanks.