note 122010 added to function.system
| From: | AlastairIrvine@php.net | Date: | Mon, 11 Dec 2017 14:10:59 +0000 |
| Subject: | note 122010 added to function.system | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209352@lists.php.net to get a copy of this message | ||
Note that system() returns FALSE on failure, but this does NOT happen when the command returned a
non-zero exit code. system() won't even fail if the command isn't found. (bash returns
exit code 127 in this case.) I assume system() only returns FALSE when something seriously bad
happens, like not being able to run your shell.
----
Server IP: 208.43.231.9
Probable Submitter: 106.68.221.175
----
Manual Page -- http://php.net/manual/en/function.system.php
Edit -- https://master.php.net/note/edit/122010
Del: integrated -- https://master.php.net/note/delete/122010/integrated
Del: useless -- https://master.php.net/note/delete/122010/useless
Del: bad code -- https://master.php.net/note/delete/122010/bad+code
Del: spam -- https://master.php.net/note/delete/122010/spam
Del: non-english -- https://master.php.net/note/delete/122010/non-english
Del: in docs -- https://master.php.net/note/delete/122010/in+docs
Del: other reasons-- https://master.php.net/note/delete/122010
Reject -- https://master.php.net/note/reject/122010
Search -- https://master.php.net/manage/user-notes.php