Req #62913 [Opn->Wfx]: add environment vars to proc_get_status()
Edit report at https://bugs.php.net/bug.php?id=62913&edit=1
ID: 62913
Updated by: cmb@php.net
Reported by: clarkwise at gmail dot com
Summary: add environment vars to proc_get_status()
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: Program Execution
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
I don't think this is even possible in the general case.
Previous Comments:
------------------------------------------------------------------------
[2012-08-23 21:34:43] clarkwise at gmail dot com
Description:
------------
Would be useful to get an array of environment vars from the process. With
proc_open(), a user-defined $env can be passed, but environment vars cannot be
subsequently retrieved if the called command changes them.
The most logical place seems to be returning an 'env' array among the other
elements returned by proc_get_status().
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62913&edit=1
Thread (2 messages)