This commit is contained in:
2023-08-18 12:32:50 +08:00
parent 998eaa96fe
commit beeca26863

View File

@@ -437,7 +437,7 @@ func RunShellCommand(mml *MmlCommand, omcMmlVar *MmlVar, outputJson *dborm.MmlOu
default:
}
}
cmd := exec.Command("/bin/bash", "-c", command)
cmd := exec.Command("sh", "-c", command)
out, err := cmd.CombinedOutput()
log.Tracef("Exec output: %v", string(out))
if err != nil {