[ Service ] [ Executor ] 重构Executor部分
This commit is contained in:
@@ -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}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user