From c08d838ade3dbb374750eedcd7c57836e332f05b Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Mon, 11 Nov 2019 17:59:51 -0500 Subject: mac: wait for electron window to close --- lib/gui/electron.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/gui/electron.py') diff --git a/lib/gui/electron.py b/lib/gui/electron.py index 6bff15aa..83486f78 100644 --- a/lib/gui/electron.py +++ b/lib/gui/electron.py @@ -4,7 +4,6 @@ import sys from ..utils import get_bundled_dir - app_process = None @@ -19,7 +18,7 @@ def open_url(url): if sys.platform == "darwin": electron_path += ".app/Contents/MacOS/inkstitch-gui" - command = ["open", "-a", electron_path, "--args", url] + command = ["open", "-W", "-a", electron_path, "--args", url] else: command = [electron_path, url] else: -- cgit v1.2.3