Make env vars in CommandBox visible to native OS binaries

Description

This will be useful for anyone using native CLIs from inside of CommandBox that expect you to set env vars for the CLIs to use. Any env vars set in the CommandBox CLI should be passed along to the env of any native processes you start

Ex on Windows:

The output is "wood" as the echo command running in Windows cmd can "see" the `brad` env var I created inside the CommandBox shell. This is in line with how most shells operate, whereby when creating a sub process that sub process gets a copy of all the environment variables of the parent process.

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created May 16, 2019 at 3:29 AM
Updated May 16, 2019 at 3:30 AM
Resolved May 16, 2019 at 3:30 AM