Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the tee threads optional #8

Merged
merged 4 commits into from
Sep 13, 2024
Merged

Make the tee threads optional #8

merged 4 commits into from
Sep 13, 2024

Conversation

triarius
Copy link
Owner

If the no file to tee the IO stream to is specified, then don't spawn a thread
but use Std::inherit instead.

The process is created with the IO streams piped, so it only useful for
developer to surface the error when the streams are not piped. This is
better done with a panic! than a Result.
@triarius triarius merged commit 8db361c into main Sep 13, 2024
8 checks passed
@triarius triarius deleted the optional-tee branch September 13, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant