Skip to content

Commit c7aae95

Browse files
committed
Updated thread name
1 parent c422244 commit c7aae95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd2/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ def __init__(self, proc: PopenTextIO, stdout: Union[StdSim, TextIO], stderr: Uni
589589

590590
self._out_thread = threading.Thread(name='out_thread', target=self._reader_thread_func, kwargs={'read_stdout': True})
591591

592-
self._err_thread = threading.Thread(name='out_thread', target=self._reader_thread_func, kwargs={'read_stdout': False})
592+
self._err_thread = threading.Thread(name='err_thread', target=self._reader_thread_func, kwargs={'read_stdout': False})
593593

594594
# Start the reader threads for pipes only
595595
if self._proc.stdout is not None:

0 commit comments

Comments
 (0)