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

Support passing environment variables to forked processes #665

Closed
samskivert opened this issue Feb 6, 2013 · 0 comments
Closed

Support passing environment variables to forked processes #665

samskivert opened this issue Feb 6, 2013 · 0 comments
Labels
Milestone

Comments

@samskivert
Copy link
Contributor

From my mailing list post:

I have "run" configured to fork off my Java process and I'd like to set
environment variables for the forked process. The code appears to
accommodate this (in Fork.scala):

val environment = builder.environment
for( (key, value) <- env )
environment.put(key, value)

but there's no way to get anything into 'env' (without writing my own code
to call into Fork), as ForkScala just passes Map.empty and ForkRun uses
ForkScala to actually fork and run my process.

@harrah harrah closed this as completed in 98e2662 Feb 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants