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

Is it possible, that which is not installed? #20

Closed
OskarStark opened this issue Sep 5, 2014 · 1 comment
Closed

Is it possible, that which is not installed? #20

OskarStark opened this issue Sep 5, 2014 · 1 comment

Comments

@OskarStark
Copy link
Contributor

https://github.com/graste/environaut/blob/master/src/Environaut/Checks/ExecutableCheck.php#L111

@graste
Copy link
Owner

graste commented Oct 6, 2014

Using which is a large bet and might by flaky on certain systems with different shells. It's usually not a shell built-in and thus may or may not skip aliases used. Options like --skip-aliases might be missing. There's the posix compliant type command that is able to skip shell aliases as well and might be a better suited candidate for the executable check. I'm just not sure about it and am open to suggestions. Are there any other commands that might be helpful? :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants