fix: deprecation warn

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2023-06-08 17:36:19 +00:00
parent ada2fb5177
commit 125dda147b
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ func (p *Program) exec(c ExecCommand, fn ExecCallback) {
}
c.SetStdin(p.input)
c.SetStdout(p.output.TTY())
c.SetStdout(p.output.Writer())
c.SetStderr(os.Stderr)
// Execute system command.