summaryrefslogtreecommitdiff
path: root/lib/gui/electron.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2020-02-18 20:30:40 -0500
committerGitHub <noreply@github.com>2020-02-18 20:30:40 -0500
commit8e590d069b25814d28790c9f3c1dcb849acbac97 (patch)
treece16953d18051dab3199e30b77b14784647290a5 /lib/gui/electron.py
parent4937721b7db4070c8d4a6027ff7c016fce8c1ee0 (diff)
parent3c32246568af85871717a0f3e7d132f9f1a0ea3e (diff)
Merge pull request #573 from inkstitch/lneva/stdout-encoding
fixes
Diffstat (limited to 'lib/gui/electron.py')
-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: