summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gui/electron.py3
1 files changed, 1 insertions, 2 deletions
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: