note 30258 added to function.pclose
| From: | vdweij at mailsurf dot com | Date: | Wed, 12 Mar 2003 13:18:42 +0000 |
| Subject: | note 30258 added to function.pclose | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45150@lists.php.net to get a copy of this message | ||
As I understand pclose will return 0 (on every platform) in case popen could not execute the
specified command.
Since popen only returns the status wether it was able to send a command and not wether it was
succesfully executed. Only the returned value of pclose can be used to check wether a command could
be executed.
--
http://www.php.net/manual/en/function.pclose.php
http://master.php.net/manage/user-notes.php?action=edit+30258
http://master.php.net/manage/user-notes.php?action=delete+30258
http://master.php.net/manage/user-notes.php?action=reject+30258