Skip to content
Myr

fix: pass actual stdout's fd to command

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Christian Muehlhaeuser · committed by Christian Muehlhaeuser · parent 4f83c62 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:exec.go+1 added-1 removed
107 unmodified lines
108 return109 }110111 c.SetStdin(p.input)112 c.SetStdout(p.output)112 c.SetStdout(p.output.TTY())113 c.SetStderr(os.Stderr)114115 // Execute system command.116 if err := c.Run(); err != nil {
13 unmodified lines