The motivation for this was to allow using tqdm progress bars in my scripts, since those use stderr to display progress. I imagine this might be useful in other situations as well, including other progress bar libraries.
This option to leave stderr as-is is propagated through a new stderr keyword argument to run().
To use this option, I added a new launch mode is called SerialTqdmLaunchMode, which uses this new argument to disable stderr capture. Arguably a more generic may be more correct, but for now I went with this because
It’s relatively short (just four extra letters);
It’s more easily discoverable: not everyone will know that a tool like tqdm works by sending data through stderr, so with something like SerialPassStderrLaunchMode, it may not be immediately obvious that them that they should use this.
On the flip side, there may be an advantage to being explicit that stderr will not be captured with this launch mode. All that to say that I’m far from wedded to this name.
The motivation for this was to allow using tqdm progress bars in my scripts, since those use stderr to display progress. I imagine this might be useful in other situations as well, including other progress bar libraries.
This option to leave stderr as-is is propagated through a new
stderr
keyword argument torun()
.To use this option, I added a new launch mode is called
SerialTqdmLaunchMode
, which uses this new argument to disable stderr capture. Arguably a more generic may be more correct, but for now I went with this becauseSerialPassStderrLaunchMode
, it may not be immediately obvious that them that they should use this.On the flip side, there may be an advantage to being explicit that stderr will not be captured with this launch mode. All that to say that I’m far from wedded to this name.