- Support using the MSVC tool chain when running Cygwin Python.
+ From Michael Cook:
+
+ - Avoid losing signal bits in the exit status from a command,
+ helping terminate builds on interrupt (CTRL+C).
+
From Charles Crain:
- Added new AddPreAction() and AddPostAction() functions that support
If you don't supply a space (for example, "<$SOURCE"), SCons will
not recognize the redirection.
+ - People have reported problems with SCons not stopping a build when
+ an interrupt (CTRL+C) is received. A fix was checked in to 0.11
+ that should fix this behavior on many systems, but there are
+ issues with the underlying Python os.system() call that suggest
+ this fix does not work on all systems or in all circumstances.
+ We're working to try to find a universal solution.
+
- Executing the -u or -U option from a source directory that has an
associated BuildDir() does not build the targets in the BuildDir().
else:
s = string.join(args)
- return os.system(s) >> 8
+ stat = os.system(s)
+ if stat & 0xff:
+ return stat | 0x80
+ return stat >> 8
def fork_spawn(sh, escape, cmd, args, env):
pid = os.fork()
else:
# Parent process.
pid, stat = os.waitpid(pid, 0)
- ret = stat >> 8
- return ret
+ if stat & 0xff:
+ return stat | 0x80
+ return stat >> 8
def generate(env):