From f9da06538394990906d6148d7cbc2dad7a7967c7 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 17 Oct 2012 16:11:01 +0200 Subject: [PATCH] Fix process communication --- gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui.py b/gui.py index 7c9979d..83099e8 100644 --- a/gui.py +++ b/gui.py @@ -33,7 +33,7 @@ def error(message): if qt_available: QtGui.QMessageBox.critical(None, 'Fatal error', message) else: - subprocess.Popen(["zenity", "--error", "--text="+message], stdout=subprocess.PIPE) + subprocess.check_call(["zenity", "--error", "--text="+message]) def setup(internalResolutions, externalResolutions): '''Returns a ScreenSetup instance, or None if the user canceled''' -- 2.30.2