X-Git-Url: https://git.ralfj.de/lilass.git/blobdiff_plain/41c87e2c4099296550511b3752358e7417e62877..f9da06538394990906d6148d7cbc2dad7a7967c7:/gui.py?ds=inline 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'''