Merge "Set ansible stdin to /dev/null" into feature/zuulv3

This commit is contained in:
Zuul 2017-10-16 23:01:13 +00:00 committed by Gerrit Code Review
commit 38de87bf37
1 changed files with 1 additions and 0 deletions

View File

@ -1300,6 +1300,7 @@ class AnsibleJob(object):
self.proc = popen(
cmd,
cwd=self.jobdir.work_root,
stdin=subprocess.DEVNULL,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
preexec_fn=os.setsid,