You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my Windows install I'm using Git Bash, which has as sh.exe, but it's not in my PATH (and I do not want it in my PATH). So how can I tell just where it can find that sh.exe?
I've looked at the docs but the only examples I see are using things like shell and windows-shell which are options that have to be added to the recipe. But that would make the recipe not usable by others, so that's not an option.
Edit: also on Windows 11 bash is available by default, but sh isn't
Edit2: a solution would be to add the Git Bash bin folder to the Windows user or system PATH, but then I'd be overriding the default bash that comes with Windows, which is not what I want. And I've seen the discussion where JUST_SHELL was suggested and rejected but perhaps a solution would be to have a JUST_SH_PATH option. That way just files will always be able to find the correct binary, even when running just files from within other just files.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
On my Windows install I'm using Git Bash, which has as sh.exe, but it's not in my PATH (and I do not want it in my PATH). So how can I tell just where it can find that sh.exe?
I've looked at the docs but the only examples I see are using things like
shell
andwindows-shell
which are options that have to be added to the recipe. But that would make the recipe not usable by others, so that's not an option.Edit: also on Windows 11
bash
is available by default, butsh
isn'tEdit2: a solution would be to add the Git Bash
bin
folder to the Windows user or system PATH, but then I'd be overriding the defaultbash
that comes with Windows, which is not what I want. And I've seen the discussion where JUST_SHELL was suggested and rejected but perhaps a solution would be to have aJUST_SH_PATH
option. That way just files will always be able to find the correct binary, even when running just files from within other just files.Beta Was this translation helpful? Give feedback.
All reactions