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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Tue Apr 16 08:01:32 2024 UTC