Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 19 lines 696 B view raw
1diff --git a/quitter.py b/quitter.py 2index a42b9d0..f544ccb 100644 3--- a/qutebrowser/misc/quitter.py 4+++ b/qutebrowser/misc/quitter.py 5@@ -112,13 +112,7 @@ class Quitter(QObject): 6 Return: 7 The commandline as a list of strings. 8 """ 9- if os.path.basename(sys.argv[0]) == 'qutebrowser': 10- # Launched via launcher script 11- args = [sys.argv[0]] 12- elif hasattr(sys, 'frozen'): 13- args = [sys.executable] 14- else: 15- args = [sys.executable, '-m', 'qutebrowser'] 16+ args = ['@qutebrowser@'] 17 18 # Add all open pages so they get reopened. 19 page_args = [] # type: typing.MutableSequence[str]