mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-29 04:50:21 +00:00
Fix handling of complex embedded args
If pulling from argv, it has already been shell split. Use shlex to join to correctly requote anything that needs quoting.
This commit is contained in:
parent
8ddcdf625b
commit
21e97689bc
@ -912,7 +912,7 @@ def main():
|
||||
do_command("start /nodes/%s/console/session" % session_node, netserver)
|
||||
doexit = True
|
||||
elif shellargs:
|
||||
command = " ".join(shellargs)
|
||||
command = shlex.join(shellargs)
|
||||
do_command(command, netserver)
|
||||
quitconfetty(fullexit=True, fixterm=False)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user