Skip to content

Commit

Permalink
Merge pull request #18 from 3v0k4/fix-stdin
Browse files Browse the repository at this point in the history
Set `stdin` in `UpstreamProcess` to `os.Stdin` (instead of `/dev/null`)
  • Loading branch information
kevinmcconnell authored Apr 16, 2024
2 parents 08e70b0 + 4a0fec8 commit 2289628
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 2289628

Please sign in to comment.