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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
24 + 11 = ?
Subscribe to this entry?

 
 [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: Thu Apr 25 07:01:31 2024 UTC