Skip to content

Commit 82a957f

Browse files
committed
Do not use NullWriter in executils by default.
This is not strictly required for the 'avrdude' hack.
1 parent fb3f701 commit 82a957f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: executils/executils.go

-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ func Command(args []string) (*exec.Cmd, error) {
8585
// This is required because some tools detects if the program is running
8686
// from terminal by looking at the stdin/out bindings.
8787
// https://github.com/arduino/arduino-cli/issues/844
88-
cmd.Stdout = NullWriter
89-
cmd.Stderr = NullWriter
9088
cmd.Stdin = NullReader
9189
return cmd, nil
9290
}

0 commit comments

Comments
 (0)