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))
|
||||
|
||||
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 New Issue