Skip to content

Commit

Permalink
调整日志
Browse files Browse the repository at this point in the history
  • Loading branch information
steden committed Jul 22, 2024
1 parent 59f19ba commit 45afb4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exec/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func RunShellContext(ctx context.Context, command string, receiveOutput chan str
// return:exit code
func runCmdContext(ctx context.Context, command string, args []string, receiveOutput chan string, environment map[string]string, workingDirectory string, outputCmd bool) int {
if outputCmd {
receiveOutput <- command
receiveOutput <- command + " " + strings.Join(args, " ")
}
cmd := exec.CommandContext(ctx, command, args...)
cmd.Dir = workingDirectory
Expand Down

0 comments on commit 45afb4b

Please sign in to comment.