Commit in reactos/subsys/system/userinit on MAIN
userinit.c+2-11.5 -> 1.6
- Wait for the shell process to finish execution.

reactos/subsys/system/userinit
userinit.c 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- userinit.c	17 Aug 2004 21:49:51 -0000	1.5
+++ userinit.c	22 Dec 2004 01:20:52 -0000	1.6
@@ -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 @@
                    &si,
                    &pi))
   {
+    WaitForSingleObject(pi.hProcess, INFINITE);
     CloseHandle(pi.hProcess);
     CloseHandle(pi.hThread);
   }
CVSspam 0.2.8