Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/20250911152014.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
:bug: `subprocess` Make sure that newSubProcess supports overriding the stdin, stdout, and stderr
2 changes: 1 addition & 1 deletion utils/subprocess/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func NewWithEnvironmentWithIO(ctx context.Context, loggers logs.Loggers, io ICom
// newSubProcess creates a subprocess description with custom IO
func newSubProcess(ctx context.Context, loggers logs.Loggers, io ICommandIO, env []string, messageOnStart string, messageOnSuccess, messageOnFailure string, as *commandUtils.CommandAsDifferentUser, cmd string, args ...string) (p *Subprocess, err error) {
p = new(Subprocess)
err = p.SetupAsWithEnvironment(ctx, loggers, env, messageOnStart, messageOnSuccess, messageOnFailure, as, cmd, args...)
err = p.SetupAsWithEnvironmentWithCustomIO(ctx, loggers, io, env, messageOnStart, messageOnSuccess, messageOnFailure, as, cmd, args...)
return
}

Expand Down
Loading