jarib/childprocess — Issue #17: Support environmental variables
Author: mitchellh
Created: 2011-11-22 04:42:15+00:00
State: open

Hi,

I started porting over the Vagrant acceptance to childprocess and I hit a roadblock when I realized there is no easy way to set the environmental variables for the child process. Every major platform supports environmental variables on a per-process basis, and the Windows `CreateProcess` API supports passing a block of environmental variables as well.

Unless you can think of an easier way, it would great to be able to specify environmental variables when building a process.

Best,
Mitchell