in reply to Re^3: Script hangs when executing command over ssh
in thread Script hangs when executing command over ssh
I understand your point regarding the output redirection. Removing 1>&2 from the command does get rid of the problem in this specific example.
However the actual program is being run like $ssh->cmd('/bin/a'); and it writes some output to STDERR, and unfortunately I do not have any control over that. Thank you
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Script hangs when executing command over ssh
by marinersk (Priest) on Jun 18, 2015 at 18:56 UTC | |
by eg2014 (Initiate) on Jun 18, 2015 at 19:39 UTC | |
by marinersk (Priest) on Jun 18, 2015 at 19:59 UTC | |
by eg2014 (Initiate) on Jun 18, 2015 at 20:44 UTC | |
by marinersk (Priest) on Jun 18, 2015 at 21:03 UTC | |
by marinersk (Priest) on Jun 19, 2015 at 21:20 UTC |