Programming, System Programming, Win32, C.
printf(":%s:\n", cmdLine); if (!CreateProcess(NULL, cmdLine, NULL, NULL, FALSE, CREATE_NEW_CONSOLE, NULL, NULL, &si, &pi)) { PrintSysErr(); return; } CloseHandle(pi.hProcess); printf("\n"); } void ExitProc(void) { exit(EXIT_SUCCESS); } void TrimCmd(char *trimmed) { char *str1 = g_cmd; char *str2 =