Commit f8282d96 authored by Alexandre Julliard's avatar Alexandre Julliard

start: Fall back to ShellExecute for unknown binaries in /unix mode.

parent 29437dde
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment