Req #62913 [Opn->Wfx]: add environment vars to proc_get_status()

From: Date: Mon, 31 May 2021 13:26:50 +0000
Subject: Req #62913 [Opn->Wfx]: add environment vars to proc_get_status()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234113@lists.php.net to get a copy of this message
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)

« previous php.bugs (#234113) next »