Github user jsoref commented on the pull request:
https://github.com/apache/cordova-cli/pull/152#issuecomment-38730048
Right, I'm not saying you shouldn't set environment variables before
calling children. It's about how you call them and for whom. You shouldn't be
using process.env for this purpose, see
http://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options
for how one passes special env values.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---