mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +00:00
sync to wine
Author: Alexandre Julliard <julliard at winehq.org> Don't wait for the command to terminate in ShellLink_InvokeCommand. svn path=/trunk/; revision=30493
This commit is contained in:
@@ -2835,14 +2835,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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user