in reply to Re: untaring at remote location
in thread untaring at remote location
Have you considered launching your program on the remote end and having it detach from its SSH session? Most likely a double-fork or simply launching it via nohup should put your script in the background, detached from the session that started it.
Also, the "Perl" script you've shown is basically just a shell script. If you really want to use Perl, I would replace cd by the chdir function and the invocation of utpsm_lts_server.pl to either the do function or just start that program directly from the calling SSH script.
Also note that exec never returns.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: untaring at remote location
by t-rex (Scribe) on Jun 16, 2016 at 06:58 UTC | |
by Corion (Patriarch) on Jun 16, 2016 at 07:07 UTC | |
by t-rex (Scribe) on Jun 16, 2016 at 08:36 UTC | |
by Corion (Patriarch) on Jun 16, 2016 at 16:50 UTC |