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

hyperfine not working with nushell #568

Closed
azais-corentin opened this issue Sep 15, 2022 · 2 comments · Fixed by #582
Closed

hyperfine not working with nushell #568

azais-corentin opened this issue Sep 15, 2022 · 2 comments · Fixed by #582
Labels
bug help wanted Extra attention is needed

Comments

@azais-corentin
Copy link

Using hyperfine on Windows with nushell doesn't work properly.

Trying to benchmark ls gives me an unrecognized command error:
image
This makes sense because ls is not a command on Windows with cmd.exe.

Setting the shell manually with hyperfine -S nu 'ls' --show-output gives me another error:
image

nushell only supports running commands using nu -c.

@sharkdp
Copy link
Owner

sharkdp commented Oct 13, 2022

Thank you for reporting this. That is unfortunate. Do you have any ideas on how to resolve this?

@sharkdp sharkdp added bug help wanted Extra attention is needed labels Oct 13, 2022
@FilipAndersson245
Copy link
Contributor

fixed in #582, looked like it always defaulted to cmd.exe style of shell on windows, now the default should be -c when not in cmd.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants