Programming, System Programming, Win32, C.
STARTUPINFO si = {sizeof(STARTUPINFO)}; PROCESS_INFORMATION pi; if (!CreateProcess(NULL, g_params[0], NULL, NULL, FALSE, CREATE_NEW_CONSOLE, NULL, NULL, &si, &pi)) { PrintSysErr(); return; } CloseHandle(pi.hProcess); } void ExitProc(void) { exit(EXIT_SUCCESS); } void ExitSys(LPCTSTR lpszMsg, int