diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-09-24 14:51:23 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-09-24 14:51:23 -0400 |
commit | c7aae956989949065ccfaccca27dcdec38224dcd (patch) | |
tree | ec54ec7c6fd5d57a3b36cded4b26fa0e8a3c4a3a | |
parent | c422244e1909584a1e1c46eb3a55fd0f2fa3da13 (diff) | |
download | cmd2-git-c7aae956989949065ccfaccca27dcdec38224dcd.tar.gz |
Updated thread name
-rw-r--r-- | cmd2/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/utils.py b/cmd2/utils.py index fd2898ad..d9066a97 100644 --- a/cmd2/utils.py +++ b/cmd2/utils.py @@ -589,7 +589,7 @@ class ProcReader: self._out_thread = threading.Thread(name='out_thread', target=self._reader_thread_func, kwargs={'read_stdout': True}) - self._err_thread = threading.Thread(name='out_thread', target=self._reader_thread_func, kwargs={'read_stdout': False}) + self._err_thread = threading.Thread(name='err_thread', target=self._reader_thread_func, kwargs={'read_stdout': False}) # Start the reader threads for pipes only if self._proc.stdout is not None: |