https://bugs.winehq.org/show_bug.cgi?id=56471
--- Comment #5 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- 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.