mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 13:55:35 +00:00
start: Fall back to ShellExecute for unknown binaries in /unix mode.
This commit is contained in:
parent
29437dde3a
commit
f8282d969a
|
@ -311,11 +311,14 @@ int wmain (int argc, WCHAR *argv[])
|
|||
fatal_string_error(STRING_EXECFAIL, GetLastError());
|
||||
}
|
||||
sei.hProcess = process_information.hProcess;
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
else if (!ShellExecuteExW(&sei))
|
||||
fatal_string_error(STRING_EXECFAIL, GetLastError());
|
||||
|
||||
if (!ShellExecuteExW(&sei))
|
||||
fatal_string_error(STRING_EXECFAIL, GetLastError());
|
||||
|
||||
done:
|
||||
HeapFree( GetProcessHeap(), 0, args );
|
||||
HeapFree( GetProcessHeap(), 0, dos_filename );
|
||||
HeapFree( GetProcessHeap(), 0, parent_directory );
|
||||
|
|
Loading…
Reference in a new issue