Hello, Lately I tried to compile some document on MsW10 with texi2pdf, and it failed both on an MSYS2 MINGW64 console and on a WSL2 console.
With MSYS2 the reason was that $OSTYPE is cygwin, and not msys when the console is MINGW64 and not MSYS. With WSL2 the reason is that to call a non-WSL executable, the .exe extension shall not be omitted. Ok, the attached patch proposes a fix. WSL2 will still fail absolute paths. But it is still better with this patch than w/o it. Happy Easter, Vincent/
patch.diff
Description: patch.diff