Split without keeping spaces in sh command
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
019426bc9b
commit
3a449a2e61
|
@ -328,7 +328,7 @@ Executed query `{uncode(sql_query)}`
|
|||
output: str
|
||||
try:
|
||||
output = check_command_output(
|
||||
["timeout", str(CONFIG["sh-timeout"]), *sh_command.split(" ")]
|
||||
["timeout", str(CONFIG["sh-timeout"]), *sh_command.split()]
|
||||
).decode()
|
||||
except FileNotFoundError:
|
||||
output = "Command not found"
|
||||
|
|
Loading…
Reference in a new issue