[ Agent ] [ Executor ] - 增加windows executor部分的代码

This commit is contained in:
zeaslity
2023-08-14 17:36:17 +08:00
parent 497677d727
commit 9197031e81
5 changed files with 78 additions and 4 deletions

View File

@@ -97,7 +97,7 @@ func (op *AgentOsOperator) Exec(baseFuncName string, funcArgs ...string) []strin
// exec the command here
for _, singleLineCommand := range multiLineCommand {
singleCommandResult := AllOutputCommandExecutor(singleLineCommand)
singleCommandResult, _ := AllOutputCommandExecutor(singleLineCommand)
result = append(result, "")
result = append(result, singleCommandResult...)