Merge pull request #6820 from ValdikSS/bug6404-fork-child-exit-fix

Use os._exit() for FORKed child browser opener process. Fixes #6404.
This commit is contained in:
ThomasV 2020-12-07 10:31:36 +01:00 committed by GitHub
commit 2ac815e669
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)