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

replace which with whereis for Windows in all scripts? #40

Closed
earthbound19 opened this issue Apr 30, 2020 · 1 comment
Closed

replace which with whereis for Windows in all scripts? #40

earthbound19 opened this issue Apr 30, 2020 · 1 comment
Labels
2 - major this breaks essential functionality pls pls fix kthxbai

Comments

@earthbound19
Copy link
Owner

earthbound19 commented Apr 30, 2020

which maddeningly fails in Cygwin half the time, inexplicably. whereis prints extra info I don't want.

where, built in to windows, returns the path to any .exe or script in the %PATH%, reliably, it seems.

But this means checking if it's Windows or not ($OS env. variable), which is more cumbersome.

I would really like to fix Cygwin which not working (know why), when it fails :(

@earthbound19 earthbound19 added the 2 - major this breaks essential functionality pls pls fix kthxbai label Apr 30, 2020
@earthbound19 earthbound19 changed the title replace which with realpath in all scripts replace which with where for Windows in all scripts? Apr 30, 2020
@earthbound19 earthbound19 changed the title replace which with where for Windows in all scripts? replace which with whereis for Windows in all scripts? May 1, 2020
@earthbound19
Copy link
Owner Author

Long since done (or made possible in any places I didn't update it to this functionality), via getFullPathToFile.sh. Attempt for Python in progress via getFullPathToFile.py (moved outside of or never in repo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 - major this breaks essential functionality pls pls fix kthxbai
Projects
Archived in project
Development

No branches or pull requests

1 participant