-/* $Id: create.c,v 1.38 2001/03/17 11:11:10 dwelch Exp $
+/* $Id: create.c,v 1.39 2001/06/18 03:02:43 phreak Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* Create the PPB
*/
- RtlInitUnicodeString(&CommandLine_U, TempCommandLine);
+ RtlInitUnicodeString(&CommandLine_U, lpCommandLine);
DPRINT("CommandLine_U %S\n", CommandLine_U.Buffer);
-/* $Id: shell.c,v 1.5 2001/05/01 23:08:17 chorns Exp $
+/* $Id: shell.c,v 1.6 2001/06/18 03:02:43 phreak Exp $
*
* PROJECT : ReactOS Operating System
* DESCRIPTION: ReactOS' Native Shell
memset(&StartupInfo, 0, sizeof(StartupInfo));
StartupInfo.cb = sizeof (STARTUPINFO);
StartupInfo.lpTitle = name;
+ if( cmdline && *cmdline )
+ *(cmdline-1) = ' '; // fix command line so it is the FULL command, including exe name
ret = CreateProcessA(fullname,
- cmdline,
+ name,
NULL,
NULL,
FALSE,