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
std: add cross platform null-device name #11070
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
once we land this new command, could you remove the null-stream
command from the nu_scripts
@WindSoilder ? 😇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @WindSoilder for this and tweaking the code from review comments 🙏
so if you get a minute to remove the candidate in the |
It's a follow up to nushell/nushell#11070
Redirecting to the virtual path that Windows uses does the job, but I think the proper way of doing it is actually to redirect to |
|
Ahh, interesting. I wasn't aware of that, I had trouble finding any documentation on the null device and the |
# Description We have meet a discord discussion about cross platform `null-device`: https://discord.com/channels/601130461678272522/988303282931912704/1165966467095875624 I want the same feature too...And I think it's good enough to add it into `nu-std`. Different to https://github.com/nushell/nu_scripts/pull/649/files, I think named it to `null-device`(the name comes from [wiki](https://en.wikipedia.org/wiki/Null_device)) is better than `null-stream`.
# Description We have meet a discord discussion about cross platform `null-device`: https://discord.com/channels/601130461678272522/988303282931912704/1165966467095875624 I want the same feature too...And I think it's good enough to add it into `nu-std`. Different to https://github.com/nushell/nu_scripts/pull/649/files, I think named it to `null-device`(the name comes from [wiki](https://en.wikipedia.org/wiki/Null_device)) is better than `null-stream`.
Description
We have meet a discord discussion about cross platform
null-device
: https://discord.com/channels/601130461678272522/988303282931912704/1165966467095875624I want the same feature too...And I think it's good enough to add it into
nu-std
.Different to https://github.com/nushell/nu_scripts/pull/649/files, I think named it to
null-device
(the name comes from wiki) is better thannull-stream
.