Skip to content

Commit

Permalink
Merge pull request #449 from twhiston/fix_stdin_hang
Browse files Browse the repository at this point in the history
Fix stdIn hanging issue
  • Loading branch information
twhiston committed Feb 27, 2018
2 parents 0e0bef5 + 7982c2c commit a6699ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/tasks/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ func (t *task) runPlaybook() error {
cmd.Env = t.envVars(util.Config.TmpPath, cmd.Dir, nil)

t.logCmd(cmd)
cmd.Stdin = strings.NewReader("")
return cmd.Run()
}

Expand Down

0 comments on commit a6699ff

Please sign in to comment.