-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Stuck forever if perl is missing #152
Comments
I’d be happy to review a pull request to add this: but remember to only check on non-Windows, as that platform doesn’t require an external Perl environment. |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I'm running this lib in Docker, on an Alpine container with no perl installed.
When calling a simple
await exiftool.version()
it never responds and get stuck here forever, with no clue about what's happening. Even a try/catch doesn't caught any error.After installing perl, everything runs smoothly.
Describe the solution you'd like
An explicit failure if it's not able to run a process and the reason if possible (missing perl).
Additional context
I'm not sure whether this package or exiftool-vendored.pl should handle the error about missing perl, but this package should at least be able to detect it couldn't get a process running.
The text was updated successfully, but these errors were encountered: