On Tue Apr 2 16:12:51 2024 +0000, Alexandre Julliard wrote:
It's OK for `FindExecutable` to return failure in that case. If it turns out to be a problem in practice we can look for ways to address it, but returning Unix binaries to the app is not necessarily going to give better results.
I found one more corner case. Say we try to run `file.noassoc`, assuming this file exists and have no Windows associations. We should try to run it in this case, because it could be a Unix program, so far so good.
However, `file.noassoc` could actually be a valid PE file, and running it would succeed. Is this a desirable outcome?
This is in one of our test cases: https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/shell32/tests/shlexec... `test file.noassoc` is a valid PE file.