Thanks for the feedback.

Another issue I noticed with the 7.57 and the beta is that ShellExecuteEx() no longer reports errors because it is running asynchonously. So while "/run nosuchfile.exe" used to report errors, it does not in 7.57 or the beta. This also affects the way URLs are opened because mIRC needs to detect if an error was reported in order to try alternative methods under different versions of Windows.

I have tested out various combinations of flags with ShellExecuteEx() and unfortunately the only flag that seems to resolve the original issue and the current issues with /run, /exit -nr, /url, etc. in all of the various contexts, including error reporting, is the deprecated flag SEE_MASK_FLAG_DDEWAIT.

I have tested the change under XP, 7, and 10 and it seems to be working correctly for me in all of these contexts but we will need to see how it works for everyone in the next beta.