in reply to cygwin opensshd: how to detach remotely with fork/exec?
I know the SSH2 libs are not what you are using, but it might help for you to see a correctly setup nohup string.my $chan = $ssh2->channel(); $chan->blocking(1); $chan->exec("nohup /home/zentara/perlplay/net/zzsleep > foo.out 2> foo +.err < /dev/null &"); $chan->send_eof;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: cygwin opensshd: how to detach remotely with fork/exec?
by Boldra (Curate) on Dec 17, 2012 at 09:11 UTC |