php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #62913 add environment vars to proc_get_status()
Submitted: 2012-08-23 21:34 UTC Modified: 2021-05-31 13:26 UTC
From: clarkwise at gmail dot com Assigned: cmb (profile)
Status: Wont fix Package: Program Execution
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2012-08-23 21:34 UTC] 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().


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-05-31 13:26 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-05-31 13:26 UTC] cmb@php.net
I don't think this is even possible in the general case.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC