m
This commit is contained in:
@@ -438,7 +438,7 @@ func RunShellCommand(mml *MmlCommand, omcMmlVar *MmlVar, outputJson *dborm.MmlOu
|
||||
}
|
||||
}
|
||||
cmd := exec.Command("sh", "-c", command)
|
||||
out, err := cmd.CombinedOutput()
|
||||
out, err := cmd.Output()
|
||||
log.Tracef("Exec output: %v", string(out))
|
||||
if err != nil {
|
||||
log.Error("exe cmd error: ", err)
|
||||
|
||||
Reference in New Issue
Block a user