Skip to content

Commit

Permalink
Set stdin in UpstreamProcess to os.Stdin (instead of /dev/null)
Browse files Browse the repository at this point in the history
  • Loading branch information
3v0k4 committed Apr 16, 2024
1 parent f65d654 commit 4a0fec8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/upstream_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ func NewUpstreamProcess(name string, arg ...string) *UpstreamProcess {
}

func (p *UpstreamProcess) Run() (int, error) {
p.cmd.Stdin = os.Stdin
p.cmd.Stdout = os.Stdout
p.cmd.Stderr = os.Stderr

Expand Down

0 comments on commit 4a0fec8

Please sign in to comment.