Do not write to stdout in Electron when running on win32 CI machine
This makes Electron crash on CI machine somehow.
This commit is contained in:
parent
6756f8c7af
commit
8aa88067ca
3 changed files with 22 additions and 9 deletions
|
@ -32,6 +32,11 @@ def main():
|
|||
|
||||
subprocess.check_call([atom_shell, 'spec'] + sys.argv[1:])
|
||||
|
||||
if os.environ.has_key('OUTPUT_TO_FILE'):
|
||||
output_to_file = os.environ['OUTPUT_TO_FILE']
|
||||
with open(output_to_file, 'r') as f:
|
||||
print f.read()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue