Skip to content

Commit 741f2d3

Browse files
committed
fix: pass actual stdout's fd to command
1 parent 4f83c62 commit 741f2d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

exec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func (p *Program) exec(c ExecCommand, fn ExecCallback) {
109109
}
110110

111111
c.SetStdin(p.input)
112-
c.SetStdout(p.output)
112+
c.SetStdout(p.output.TTY())
113113
c.SetStderr(os.Stderr)
114114

115115
// Execute system command.

0 commit comments

Comments
 (0)