note 123226 added to function.shell-exec

From: Date: Fri, 12 Oct 2018 10:21:47 +0000
Subject: note 123226 added to function.shell-exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-209431@lists.php.net to get a copy of this message
despite: shell_exec("env") returning SHELL=/bin/bash I simply could not get: shell_exec("bash command <(another bash command)") to work. I have now got it working by forcing the bash shell using: shell_exec("bash -c \"bash command <(another bash command)\"") ---- Server IP: 208.43.231.9 Probable Submitter: 41.138.70.210 ---- Manual Page -- http://php.net/manual/en/function.shell-exec.php Edit -- https://master.php.net/note/edit/123226 Del: integrated -- https://master.php.net/note/delete/123226/integrated Del: useless -- https://master.php.net/note/delete/123226/useless Del: bad code -- https://master.php.net/note/delete/123226/bad+code Del: spam -- https://master.php.net/note/delete/123226/spam Del: non-english -- https://master.php.net/note/delete/123226/non-english Del: in docs -- https://master.php.net/note/delete/123226/in+docs Del: other reasons-- https://master.php.net/note/delete/123226 Reject -- https://master.php.net/note/reject/123226 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#209431) next »