alexsilva / supervisor

Supervisor process control system for Windows
http://supervisord.org
Other
118 stars 26 forks source link

Fixes stopsignal=CTRL_BREAK_EVENT crashes supervisor when run as a service #27 #28

Closed philipstarkey closed 3 years ago

philipstarkey commented 3 years ago

sys.stdout was None on my system and prevented the service from starting. This change calls win32console.AllocConsole if sys.stdout is None or not a tty.

alexsilva commented 3 years ago

The same correction but with a different approach. Thank you. b37a90e