note 88239 deleted from function.shell-exec by cmb
| From: | cmb@php.net | Date: | Sun, 14 Jul 2019 11:32:43 +0000 |
| Subject: | note 88239 deleted from function.shell-exec by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211584@lists.php.net to get a copy of this message | ||
Note Submitter: zd
----
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.