https://bugs.winehq.org/show_bug.cgi?id=56471
--- Comment #7 from yshuiv7@gmail.com --- (In reply to Alistair Leslie-Hughes from comment #5)
At the simplest solution, might be to detect the first / since Unix programs have to be a full path. So then by bypassing the search paths.
Windows paths generally start with a drive letter.
unix paths are converted to NT paths before they get to ShellExecute, IIUC