Skip to content

Commit

Permalink
[VCARB-288] Dont use a multiwriter on stdout (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Diddams authored Sep 11, 2024
1 parent 49d6029 commit 8b1aefe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func Fork(args ForkArgs) (*ForkResult, error) {
defer stdout.Close()
}
if args.WriteToStd {
cmd.Stdout = io.MultiWriter(stdout, os.Stdout)
cmd.Stdout = os.Stdout
cmd.Stderr = io.MultiWriter(stderr, os.Stderr)
} else {
cmd.Stderr = stderr
Expand Down

0 comments on commit 8b1aefe

Please sign in to comment.