Author eryksun
Recipients The Compiler, astrand, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2015-06-24.05:51:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435125118.16.0.681358956258.issue24493@psf.upfronthosting.co.za>
In-reply-to
Content
> It seems only a minimal set of environment variables are set 

Apparently the initial environment is empty. The values you see are defaults set by cmd.exe when it starts. It also sets the 'hidden' variable "=C:" to the current directory on the C: drive, which you can see via set "". 

As a workaround, try running the command using shell=True (i.e. cmd /c). This should let you modify the environment passed to 64-bit cmd.exe, which will be inherited by the grandchild process that it creates.
History
Date User Action Args
2015-06-24 05:51:58eryksunsetrecipients: + eryksun, paul.moore, astrand, tim.golden, zach.ware, steve.dower, The Compiler
2015-06-24 05:51:58eryksunsetmessageid: <1435125118.16.0.681358956258.issue24493@psf.upfronthosting.co.za>
2015-06-24 05:51:58eryksunlinkissue24493 messages
2015-06-24 05:51:58eryksuncreate