commit 2ac815e669e05b0c9c35f8af52dc49227205efaa
parent d2b96ad64b4700e33b0e39c1b8cd4fc60da5b395
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 7 Dec 2020 10:31:36 +0100
Merge pull request #6820 from ValdikSS/bug6404-fork-child-exit-fix
Use os._exit() for FORKed child browser opener process. Fixes #6404.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/gui/qt/util.py b/electrum/gui/qt/util.py
@@ -1001,7 +1001,7 @@ def webopen(url: str):
if os.fork() == 0:
del os.environ['LD_LIBRARY_PATH']
webbrowser.open(url)
- sys.exit(0)
+ os._exit(0)
else:
webbrowser.open(url)