in reply to Perl - running remote script doesn't return back the control to perl.
#!/usr/bin/perl use Net::SSH2; # logon and object setup code omitted for clarity 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; exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl - running remote script doesn't return back the control to perl.
by bshah (Novice) on Mar 21, 2014 at 16:57 UTC |