Message286022
> if p.exitcode != 0:
> print('Child failed with exit code:', p.exitcode)
Interestingly the exit code is always 1 when running under pythonw.exe. I just inspected what's going on by setting sys.stderr to a file and discovered the following issue:
File "C:\Program Files\Python35\lib\multiprocessing\process.py", line 268, in _bootstrap
sys.stdout.flush()
AttributeError: 'NoneType' object has no attribute 'flush'
Calling flush() on stderr and stdout should be gated by a check that they're not None and have a flush method. Or simply ignore the AttributeError. |
|
Date |
User |
Action |
Args |
2017-01-22 17:58:23 | eryksun | set | recipients:
+ eryksun, paul.moore, tim.golden, zach.ware, steve.dower, davin, Just a Person |
2017-01-22 17:58:23 | eryksun | set | messageid: <1485107903.45.0.742397244562.issue29345@psf.upfronthosting.co.za> |
2017-01-22 17:58:23 | eryksun | link | issue29345 messages |
2017-01-22 17:58:23 | eryksun | create | |
|