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

Use a shared file descriptor for discarding output #8

Open
dimo414 opened this issue Apr 11, 2018 · 0 comments
Open

Use a shared file descriptor for discarding output #8

dimo414 opened this issue Apr 11, 2018 · 0 comments
Labels
enhancement New feature or request minor

Comments

@dimo414
Copy link
Owner

dimo414 commented Apr 11, 2018

Original report by Michael Diamond (Bitbucket: dimo414).


We could open a file descriptor to /dev/null and discard output to that, instead of separately writing to /dev/null repeatedly, which means opening and closing the file repeatedly. See Wooledge and SO

Some more discussion in #5.

@dimo414 dimo414 added minor enhancement New feature or request labels Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor
Projects
None yet
Development

No branches or pull requests

1 participant