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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: clarkwise at gmail dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 13:01:30 2024 UTC