Write output directly to stderr

This commit is contained in:
Cheng Zhao 2015-09-03 17:20:48 +09:00
parent 28e5258a96
commit f75458f78d
2 changed files with 4 additions and 3 deletions

View file

@ -78,7 +78,8 @@ def main():
def run_script(script, args=[]):
print 'Running', script
sys.stderr.write('\nRunning ' + script +'\n')
sys.stderr.flush()
script = os.path.join(SOURCE_ROOT, 'script', script)
subprocess.check_call([sys.executable, script] + args)