mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:28:19 +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 a new issue