Skip to content

Commit 039376c

Browse files
authored
Merge pull request #472 from thedadams/remove-cmd-os-stdin
fix: stop binding os.Stdin to sub commands
2 parents 21f0fea + f804139 commit 039376c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/engine/cmd.go

-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ func (e *Engine) runCommand(ctx Context, tool types.Tool, input string, toolCate
7373

7474
output := &bytes.Buffer{}
7575
all := &bytes.Buffer{}
76-
cmd.Stdin = os.Stdin
7776
cmd.Stderr = io.MultiWriter(all, os.Stderr)
7877
cmd.Stdout = io.MultiWriter(all, output)
7978

0 commit comments

Comments
 (0)