forked from M-Labs/artiq
1
0
Fork 0

gui/applets: fix handling of process creation failure

This commit is contained in:
Sebastien Bourdeauducq 2016-09-06 23:01:04 +08:00
parent 996dfcafc6
commit f6b5d6d20f
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ class _AppletDock(QDockWidgetCloseDetect):
except:
logger.warning("Applet %s failed to start", self.applet_name,
exc_info=True)
return
if stdin is not None:
self.ipc.process.stdin.write(stdin.encode())
self.ipc.process.stdin.write_eof()