修复任务命令中的&和引号

This commit is contained in:
whyour
2022-11-02 18:51:09 +08:00
parent 8f90d3f8ff
commit 802b2d722e
2 changed files with 7 additions and 6 deletions
+1 -2
View File
@@ -232,8 +232,7 @@ run_else() {
shift
local params=$(echo "$@" | sed 's/ /\" \"/g')
$timeoutCmd $which_program $file_param \"$params\"
$timeoutCmd $which_program $file_param "$@"
}
## 命令检测