mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
- Wait for the shell process to finish execution.
svn path=/trunk/; revision=12281
This commit is contained in:
parent
d509bf9f98
commit
9769f53baa
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: userinit.c,v 1.5 2004/08/17 21:49:51 weiden Exp $
|
||||
/* $Id: userinit.c,v 1.6 2004/12/22 01:20:52 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Userinit Logon Application
|
||||
|
@ -97,6 +97,7 @@ void StartShell(void)
|
|||
&si,
|
||||
&pi))
|
||||
{
|
||||
WaitForSingleObject(pi.hProcess, INFINITE);
|
||||
CloseHandle(pi.hProcess);
|
||||
CloseHandle(pi.hThread);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue