From: Ralf Jung Date: Wed, 17 Oct 2012 14:11:01 +0000 (+0200) Subject: Fix process communication X-Git-Url: https://git.ralfj.de/lilass.git/commitdiff_plain/f9da06538394990906d6148d7cbc2dad7a7967c7?hp=--cc Fix process communication --- f9da06538394990906d6148d7cbc2dad7a7967c7 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'''