mirror of
https://github.com/reactos/reactos.git
synced 2024-10-07 01:44:21 +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:
parent
bc74f1df6f
commit
43eb284cea
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue