Le Sun, May 26, 2024 at 05:35:28PM +0300, Yair Yarom a écrit :
> 
> The function MagicMimetype always fails because the `command -v file` isn't
> executed inside a shell (rather, perl searches for the "command" binary, and
> fails to find it).

Thanks Yair for the patch.  I confirm it works.

Can you give me a longer explanation why it works?

In any case, I wonder if just searching for /usr/bin/file would make
more sense.  What do you think about it?

Have a nice day,

Charles

Reply via email to