|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-02-06 05:07 UTC] pierre dot php at gmail dot com
[2012-03-08 14:44 UTC] fi0 at gmx dot net
[2012-10-07 19:58 UTC] langemeijer@php.net
[2012-12-09 10:26 UTC] langemeijer@php.net
-Status: Open
+Status: No Feedback
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 23:00:02 2025 UTC |
Description: ------------ PECL package: ssh2 0.11.0 I suggest that there should be a function like ssh_exec(), which can return exit status of the executed command. Reproduce code: --------------- eg. list($status, $output) = ssh_exec_with_status("service httpd status"); Expected result: ---------------- $status will be 0 if httpd is running. $output will be some output text.