mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
Print command that fails to make error message a little more
comprehensible.
This commit is contained in:
parent
f46e5ce13c
commit
9ffac609ea
@ -375,7 +375,8 @@ static DWORD runCmd(LPWSTR cmdline, LPCWSTR dir, BOOL wait, BOOL minimized)
|
||||
|
||||
if( !CreateProcessW(NULL, cmdline, NULL, NULL, FALSE, 0, NULL, dir, &si, &info) )
|
||||
{
|
||||
WINE_ERR("Failed to run command (%ld)\n", GetLastError() );
|
||||
WINE_ERR("Failed to run command %s (%ld)\n", wine_dbgstr_w(cmdline),
|
||||
GetLastError() );
|
||||
|
||||
return INVALID_RUNCMD_RETURN;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user