Skip to content

Commit

Permalink
Updated thread name
Browse files Browse the repository at this point in the history
  • Loading branch information
kmvanbrunt committed Sep 24, 2021
1 parent c422244 commit c7aae95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd2/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ def __init__(self, proc: PopenTextIO, stdout: Union[StdSim, TextIO], stderr: Uni

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:
Expand Down

0 comments on commit c7aae95

Please sign in to comment.