homepage

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 The Compiler
Recipients The Compiler, astrand, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2015年06月24日.04:14:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435119287.97.0.114509637529.issue24493@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry I missed this - I can reproduce this on Windows 8.1, but not on Windows 7. I hope I'll be able to try another Windows 8.1 machine today.
SYSTEMROOT is definitely set in the original environment:
 >>> os.environ['SYSTEMROOT']
 'C:\\Windows'
 >>> subprocess.call('{} /c set SYSTEMROOT'.format(cmd32), env=os.environ)
 Environment variable SYSTEMROOT not defined
 1
 >>> subprocess.call('{} /c set SYSTEMROOT'.format(cmd32))
 SystemRoot=C:\Windows
 0
It seems only a minimal set of environment variables are set in the spawned process:
 >>> subprocess.call('{} /c set'.format(cmd32), env=os.environ)
 COMSPEC=C:\Windows\SysWOW64\cmd.exe
 PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.JS;.WS;.MSC
 PROMPT=$P$G
History
Date User Action Args
2015年06月24日 04:14:48The Compilersetrecipients: + The Compiler, paul.moore, astrand, tim.golden, zach.ware, eryksun, steve.dower
2015年06月24日 04:14:47The Compilersetmessageid: <1435119287.97.0.114509637529.issue24493@psf.upfronthosting.co.za>
2015年06月24日 04:14:47The Compilerlinkissue24493 messages
2015年06月24日 04:14:47The Compilercreate

AltStyle によって変換されたページ (->オリジナル) /