[ Service ] [ Executor ] 重构Executor部分

This commit is contained in:
zeaslity
2023-08-14 10:09:23 +08:00
parent a2b6b01fd3
commit 92390b4d6f
14 changed files with 72 additions and 462 deletions

View File

@@ -57,7 +57,7 @@ func Execute(em *ExecutionMessage) ([]string, error) {
realCommand = em.MultiLineCommand
} else {
// 单行命令
resultLog, err = SingleLineCommandExecutor(em.SingleLineCommand)
resultLog, err = AllOutputCommandExecutor(em.SingleLineCommand)
realCommand = [][]string{em.SingleLineCommand}
}
}