mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
start: Fall back to ShellExecute for unknown binaries in /unix mode.
This commit is contained in:
parent
29437dde3a
commit
f8282d969a
1 changed files with 5 additions and 2 deletions
|
@ -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))
|
||||
|
||||
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