cmd: Load start.exe from the system directory.
Fixes cmd test in pure 64-bit wine. Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a1c42293a2
commit
810de9d1a7
|
@ -4351,8 +4351,8 @@ void WCMD_start(WCHAR *args)
|
|||
STARTUPINFOW st;
|
||||
PROCESS_INFORMATION pi;
|
||||
|
||||
GetWindowsDirectoryW( file, MAX_PATH );
|
||||
lstrcatW(file, L"\\command\\start.exe");
|
||||
GetSystemDirectoryW( file, MAX_PATH );
|
||||
lstrcatW(file, L"\\start.exe");
|
||||
cmdline = heap_xalloc( (lstrlenW(file) + lstrlenW(args) + 8) * sizeof(WCHAR) );
|
||||
lstrcpyW( cmdline, file );
|
||||
lstrcatW(cmdline, L" ");
|
||||
|
|
Loading…
Reference in New Issue