Disallow :spawn -u -d
This commit is contained in:
parent
a00548ec4d
commit
353f86488a
@ -1160,6 +1160,7 @@ class CommandDispatcher:
|
|||||||
detach: Whether the command should be detached from qutebrowser.
|
detach: Whether the command should be detached from qutebrowser.
|
||||||
cmdline: The commandline to execute.
|
cmdline: The commandline to execute.
|
||||||
"""
|
"""
|
||||||
|
cmdutils.check_exclusive((userscript, detach), 'ud')
|
||||||
try:
|
try:
|
||||||
cmd, *args = shlex.split(cmdline)
|
cmd, *args = shlex.split(cmdline)
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user