This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
> 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.
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: <>
2015-06-24 05:51:58eryksunlinkissue24493 messages
2015-06-24 05:51:58eryksuncreate