From c7aae956989949065ccfaccca27dcdec38224dcd Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Fri, 24 Sep 2021 14:51:23 -0400 Subject: Updated thread name --- cmd2/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.1