From f6b5d6d20faff702b21b5875b2174ab408319eaa Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 6 Sep 2016 23:01:04 +0800 Subject: [PATCH] gui/applets: fix handling of process creation failure --- artiq/gui/applets.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/gui/applets.py b/artiq/gui/applets.py index d8fd2e422..20cb3ef60 100644 --- a/artiq/gui/applets.py +++ b/artiq/gui/applets.py @@ -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()