Fix removed attribute.

This commit is contained in:
Jeremy Pallats/starcraft.man 2015-12-07 11:35:13 -05:00
parent 2b974fd6aa
commit f7841f7cbe

View File

@ -1222,7 +1222,7 @@ class Command(object):
try:
tfile = tempfile.NamedTemporaryFile(mode='w+b')
preexec_fn = not G_IS_WIN and os.setsid or None
self.proc = subprocess.Popen(self.cmd, cwd=self.cmd_dir, stdout=tfile,
self.proc = subprocess.Popen(self.cmd, stdout=tfile,
stderr=subprocess.STDOUT,
stdin=subprocess.PIPE, shell=True,
preexec_fn=preexec_fn)