[Bug 21338] cmd needs to set COMSPEC, PATHEXT, and PROMPT environment variables

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jan 11 23:08:08 CST 2010


--- Comment #4 from Dima Ryazanov <dima at gmail.com>  2010-01-11 23:08:07 ---
I'm using SCons version v1.2.0.r3842.

Here's my SConstruct:

env = Environment()
env.Command("foo", "", "C:/Python26/python temp.py")


import os

And the output:

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ... 
C:/Python26/python temp.py
Traceback (most recent call last):
  File "temp.py", line 2, in <module>
RuntimeError: Cannot locate a COMSPEC environment variable to use as the shell
scons: *** [foo] Error 1
scons: building terminated because of errors.

I can try to come up with a simple C testcase, if that helps.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list