note 88239 added to function.shell-exec
| From: | zd at osu1 dot php dot net | Date: | Fri, 16 Jan 2009 18:29:30 +0000 |
| Subject: | note 88239 added to function.shell-exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-149330@lists.php.net to get a copy of this message | ||
It's probably worth noting that shell_exec() return value seems binary safe, while the output
array from exec() is not.
In either case, a more controlled way to launch and interact with a process is proc_open() which
allows you to have streams and is also binary safe.
----
Server IP: 69.147.83.197
Probable Submitter: 208.67.191.196
----
Manual Page -- http://www.php.net/manual/en/function.shell-exec.php
Edit -- https://master.php.net/note/edit/88239
Del: integrated -- https://master.php.net/note/delete/88239/integrated
Del: useless -- https://master.php.net/note/delete/88239/useless
Del: bad code -- https://master.php.net/note/delete/88239/bad+code
Del: spam -- https://master.php.net/note/delete/88239/spam
Del: non-english -- https://master.php.net/note/delete/88239/non-english
Del: in docs -- https://master.php.net/note/delete/88239/in+docs
Del: other reasons-- https://master.php.net/note/delete/88239
Reject -- https://master.php.net/note/reject/88239
Search -- https://master.php.net/manage/user-notes.php