https://bugs.winehq.org/show_bug.cgi?id=56940
--- Comment #7 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 76768 --> https://bugs.winehq.org/attachment.cgi?id=76768 test executable
Attached a small test executable
On windows this will start regedit, on wine it does nothing...
After long search, if I'm correct, the problem is in ShellExecuteW. Source for simple test:
#include <windows.h> #include <shellapi.h>
int __cdecl main(int argc, CHAR *arg[]) {
ShellExecuteW( NULL, L"open", L"regedit.exe ", NULL, NULL, SW_SHOWNORMAL );
}
Wine's ShellExecuteW doesn't like the trailing space, but windows seems to happily execute the app.
I'll see if I can fixup a patch