Merge pull request #2927 from jterry75/bug_io_relay_close
Fix issue in runhcs shim CloseIO
This commit is contained in:
commit
33b56e253e
@ -145,7 +145,7 @@ func (pr *pipeRelay) wait() {
|
||||
// closeIO closes stdin to unblock an waiters
|
||||
func (pr *pipeRelay) closeIO() {
|
||||
if pr.ps.stdin != nil {
|
||||
pr.ps.Close()
|
||||
pr.ps.stdin.Close()
|
||||
pr.io.Stdin().Close()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user