note 105258 deleted from function.ssh2-exec by danbrown
| From: | danbrown@php.net | Date: | Fri, 05 Aug 2011 13:49:47 +0000 |
| Subject: | note 105258 deleted from function.ssh2-exec by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-182249@lists.php.net to get a copy of this message | ||
Note Submitter: steven dot aveillan at extelia dot fr
----
@christopher
I know it's a bit late, but the only way I found was merging stderr to stdout using the
'2>&1' operator in the remote command line. However, it only works on
POSIX-compliant systems.
If someone found a better way, or just tell us how we can get the remote command exit code, they
would be welcome ! :)