|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2019-06-18 07:45 UTC] nicolas dot grekas+php at gmail dot com
Description: ------------ Right now, PHP misses a low level primitive to run a process without argument escaping issues. The reason is that proc_open accepts only a string to define the command, so that a command line parser is required under the hood. This also creates the long-lasting issue with signaling, where the shell get them instead of the command itself. Both issues would be fixed by having a way to launch shell-less command lines. All programming language have this, but PHP. proc_open($array, ...) could be the way to go. We're missing this badly. PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 15:00:01 2025 UTC |
implode(' ', array_map('escapeshellarg', $array)) might be a suitable workaround