forked from M-Labs/artiq
gui/applets: fix handling of process creation failure
This commit is contained in:
parent
996dfcafc6
commit
f6b5d6d20f
|
@ -130,6 +130,7 @@ class _AppletDock(QDockWidgetCloseDetect):
|
||||||
except:
|
except:
|
||||||
logger.warning("Applet %s failed to start", self.applet_name,
|
logger.warning("Applet %s failed to start", self.applet_name,
|
||||||
exc_info=True)
|
exc_info=True)
|
||||||
|
return
|
||||||
if stdin is not None:
|
if stdin is not None:
|
||||||
self.ipc.process.stdin.write(stdin.encode())
|
self.ipc.process.stdin.write(stdin.encode())
|
||||||
self.ipc.process.stdin.write_eof()
|
self.ipc.process.stdin.write_eof()
|
||||||
|
|
Loading…
Reference in New Issue