in reply to Re: channel SSH2
in thread channel SSH2
Because I was executing long running commands (and even sometimes on the shorter commands), I had to do something like execute a 'echo DONE' command after every command I wanted to execute, and then read from every command until I got the DONE marker. I even went and wrote an execute_command($command) wrapper function to do this for me.
Update: And maybe I even did something like:echo "DONE[$?]"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: channel SSH2
by locked_user sundialsvc4 (Abbot) on May 23, 2012 at 21:48 UTC |