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: -
From: clarkwise at gmail dot com Assigned:
Status: Open 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

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Nov 16 21:01:32 2019 UTC