Add env variables to the process being launched.

For example setting up JAVA_OPTS when launching Tomcat.