-
Notifications
You must be signed in to change notification settings - Fork 454
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 "pwsh.exe" on Windows instead of the old "powershell.exe" in a non-breaking way #1185
Comments
Thank you!
So I have the background, what's buggy about the binary named
That sounds reasonable to me, although it's unfortunate that there would be two very similar options. |
Sorry, I used a wrong term here ("buggy").
Maybe we can use the same but if Although maybe this can be slower? |
Okay, I see. I think switching between |
@frederikhors Just published 1.2.0, which has |
I'm new to just. It's great! Really!
I'm a Windows 10 user and I'm using the "new" PowerShell 7 which has the executable name
pwsh.exe
.I understood from the docs that I can set the below config on Windows to use Powershell instead of
sh.exe
(which is what I want sincesh.exe
on Windows is buggy for some things).What is missing today (for what I can read from docs at least) is a way to indicate to
Just
what Powershell version to use based on what executable to use:powershell.exe
(which is currently used)pwsh.exe
which you can download & install from Microsoft website (and maybe is already installed on Windows 11).I tried with these lines too but obviously they aren't working and they have no sense at all since on my linux I would use the default shell for linux:
So I'm suggesting a non-breaking way to handle this using something like:
Do you agree?
The text was updated successfully, but these errors were encountered: