-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
API to access environment variables in vm #752
Comments
This comment was originally written by Bradley...@gmail.com In conjunction with this, there should be a way to set environmental variables on new Process. Working directory is good, but if I need a worker process to integrate with a system using environmental variables, this is a must. |
This could be added to the Options interface: Created issue #2193 for the feature request in comment 1. |
We don't need this right this second for pub, but it is certain that we will need it before too long. Can I make a friendly request for this to be implemented in the near future? cc @iposva-google. |
Thanks! |
Oh, and just to clarify, we will likely need both:
#1 is obvious, but #2 will be very helpful for the test infrastructure for pub which generally works by invoking pub in its own process. |
Sounds good. They do go hand in hand and I'll see if I can get to do both ASAP. I have accepted issue #2193 as well. |
Issue #1791 has been merged into this issue. |
Thanks! |
It would be really useful to have access to the terminal's environment variables. I have in mind something similar to 'process.env' in nodejs.
The text was updated successfully, but these errors were encountered: