note 105258 added to function.ssh2-exec

From: Date: Fri, 05 Aug 2011 12:39:36 +0000
Subject: note 105258 added to function.ssh2-exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-182248@lists.php.net to get a copy of this message
@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 ! :) ---- Server IP: 69.147.83.197 Probable Submitter: 194.5.108.150 ---- Manual Page -- http://www.php.net/manual/en/function.ssh2-exec.php Edit -- https://master.php.net/note/edit/105258 Del: integrated -- https://master.php.net/note/delete/105258/integrated Del: useless -- https://master.php.net/note/delete/105258/useless Del: bad code -- https://master.php.net/note/delete/105258/bad+code Del: spam -- https://master.php.net/note/delete/105258/spam Del: non-english -- https://master.php.net/note/delete/105258/non-english Del: in docs -- https://master.php.net/note/delete/105258/in+docs Del: other reasons-- https://master.php.net/note/delete/105258 Reject -- https://master.php.net/note/reject/105258 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#182248) next »