php-ssh
php-ssh copied to clipboard
Fix empty stdout
:+1:
Would be nice to have this merged, the issue caused significant debugging pains for me a while back. I'm sure others have come across the same problem.
The fix assumes, that if a command was executed and the echo part was not run, that result of the execution should be a error with a exit code != 0?
@Herzult Sounds right to me.
Bump. I just ran into this issue again when using this library in another project. I don't know what it is about these use cases but this has happened to me more than once now! And this is a pretty straightforward fix.