Make the command sh run in sh
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
3a449a2e61
commit
8273077c67
|
@ -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", "-c", sh_command]
|
||||
).decode()
|
||||
except FileNotFoundError:
|
||||
output = "Command not found"
|
||||
|
|
Loading…
Reference in a new issue