X-Git-Url: https://git.ralfj.de/lilass.git/blobdiff_plain/6c00241a910d36f0d1c0cf0a1a120214f362db43..f9da06538394990906d6148d7cbc2dad7a7967c7:/gui.py 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'''