I'm sure most Windows developers are familiar with this error message, usually when trying to mix 32- and 64-bit executables. In particular Python and Java can both get it.
It's clear that %1
represents the first argument to the failing command - i.e. the executable that is trying to be loaded - but why does it not get filled in with the actual path?
Is it something that the caller is doing wrong, or is it a basic failing of some Windows subsystem that cannot be fixed for compatibility reasons?