- Wait for the shell process to finish execution.

svn path=/trunk/; revision=12281
This commit is contained in:
Filip Navara 2004-12-22 01:20:52 +00:00
parent d509bf9f98
commit 9769f53baa

View file

@ -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);
}