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

Work with "which v2.4" (really old!) on Windows? #30

Closed
JonnyJD opened this issue Dec 10, 2012 · 4 comments
Closed

Work with "which v2.4" (really old!) on Windows? #30

JonnyJD opened this issue Dec 10, 2012 · 4 comments
Assignees
Milestone

Comments

@JonnyJD
Copy link
Owner

JonnyJD commented Dec 10, 2012

On Linux we work with "which" to find out if a backend exists without actually starting the backend.

On Windows we normally don't have "which", but if GNU which is installed, it somehow doesn't detect if a backend exists.
Possibly because which mediatools.exe works, but "which mediatools" doesnt.

Thanks @jesus2099 for reporting.

@jesus2099
Copy link
Contributor

Exactly ! :)

@JonnyJD
Copy link
Owner Author

JonnyJD commented Dec 10, 2012

Hm. The "which" from http://gnuwin32.sourceforge.net/packages.html does work with which mediatools (without exe).
That one is "GNU which v2.20". You seem to have another build.

You said you have "GNU which v2.4". I can only find a GNU which v2.13 (from 2002) at gnuwin, but that one has the same problem you mention.
I also found your which version from the stone age here: http://sourceforge.net/projects/unxutils/

I would highly advise you to get an newer "which" and possibly also update the other tools. unxutils seems outdated by a lot (most tools are from 1999 Oo) Better use gnuwin32.

I will still fix this for the unxutils which.

@ghost ghost assigned JonnyJD Dec 10, 2012
@JonnyJD
Copy link
Owner Author

JonnyJD commented Dec 11, 2012

Oh my... "which v2.4" is even more broken than I thought.
which mediatools.exe only works when mediatools.exe really is in the PATH and not when it is only in the current directory.
So mediatools works, but which mediatools.exe does not Oo.

Well it might even work for you, but right now I just think telling everybody that UnxUtils is crap is the way to go.
Or I check the version of "which" and print a warning to use an updated version of which.
"Which" is supposed to make it easier to find executables, not more difficult..

Sorry, I am a bit frustrated about UnxUtils. Not your fault ;-)
I will sleep a bit over this issue and decide what I will do later on.

Either way: I suggest http://gnuwin32.sourceforge.net/ (there are single programs, but also a whole package)

@jesus2099
Copy link
Contributor

Thanks it works when I update to which v2.20 ! :)
It’s great tool YAY(^o^ )Y Thanks very much !

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