summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2b0b2b4)
It doesn't return the raw status from `wait', but some kind of
inconvenient cooked status.
temp = me.target + '.new'
with open(temp, 'w') as ft:
rc = SUB.call([SYS.executable, me.sources[0]], stdout = ft)
temp = me.target + '.new'
with open(temp, 'w') as ft:
rc = SUB.call([SYS.executable, me.sources[0]], stdout = ft)
- if rc != 0: raise SubprocessFailure, (me.sources[0], rc)
+ if rc != 0: raise SubprocessFailure, (me.sources[0], rc << 8)
OS.rename(temp, me.target)
## Backward compatibility.
OS.rename(temp, me.target)
## Backward compatibility.