Commit db500aad authored by Alexandre Julliard's avatar Alexandre Julliard

shell32: Don't wait for the command to terminate in ShellLink_InvokeCommand.

parent 14eb294a
......@@ -2573,14 +2573,7 @@ ShellLink_InvokeCommand( IContextMenu* iface, LPCMINVOKECOMMANDINFO lpici )
sei.lpVerb = szOpen;
if( ShellExecuteExW( &sei ) )
{
if ( sei.hProcess )
{
WaitForSingleObject( sei.hProcess, 10000 );
CloseHandle( sei.hProcess );
}
r = S_OK;
}
else
r = E_FAIL;
......
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