This commit is contained in:
simonzhangsz committed 2023-08-18 12:32:50 +08:00
1 parent 998eaa96fe
commit beeca26863
1 file changed
+1 -1
+1 -1
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 {