diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/subprocess.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py index b239c48..d9c76d8 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -872,13 +872,13 @@ class Popen(object): stdout = [] stdout_thread = threading.Thread(target=self._readerthread, args=(self.stdout, stdout)) - stdout_thread.setDaemon(True) + stdout_thread.set_daemon(True) stdout_thread.start() if self.stderr: stderr = [] stderr_thread = threading.Thread(target=self._readerthread, args=(self.stderr, stderr)) - stderr_thread.setDaemon(True) + stderr_thread.set_daemon(True) stderr_thread.start() if self.stdin: |