kernel32: Use the full path as an argument to winevdm.exe.
commit5155afd882d09c840d27a5f13681d3b09f564b1a
authorZebediah Figura <z.figura12@gmail.com>
Thu, 27 Apr 2017 20:14:37 +0000 (27 15:14 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 1 May 2017 17:29:14 +0000 (1 19:29 +0200)
treea1b05796dc510bfb1a301c668a53586786a2c924
parent8b5291bca61322ddc74b2df04804fe3253efe71d
kernel32: Use the full path as an argument to winevdm.exe.

When starting a 16-bit process using CreateProcess() which resides
in a subdirectory, the directory is changed but winevdm.exe still
attempts to look for the whole path. Thus attempting to start
"install\setup.exe" will cause winevdm.exe to look for
"install\install\setup.exe", which fails.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/kernel32/process.c