http://bugs.winehq.org/show_bug.cgi?id=21338
--- Comment #4 from Dima Ryazanov dima@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")
temp.py:
import os os.popen("dir")
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> os.popen("dir") 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.