Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot pass environment variables to scripts when running on mainframe #714

Open
natevw opened this issue Feb 20, 2015 · 1 comment
Open

Comments

@natevw
Copy link
Contributor

natevw commented Feb 20, 2015

Scripts running under the CLI version of colony have a process.env object but it is empty. It should probably be filled with a copy of the parent process's whole list.

Current workaround is to put process.env.FOO = "42" lines atop scripts, but this makes sharing code difficult when it comes to private stuff like TM_API_KEY and whatnot.

xref: tessel/t1-cli#167 will tuck specifically-configured variables atop any script that you push/run to a Tessel device.

@natevw
Copy link
Contributor Author

natevw commented Feb 21, 2015

#715 fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant