Programming, System Programming, Win32, C.
(!CreateProcess(NULL, cmdLine, NULL, NULL, FALSE, CREATE_NEW_CONSOLE, NULL, NULL, &si, &pi)) { _ftprintf(stderr, _T("Cannot create process!..\n")); exit(EXIT_FAILURE); } _tprintf(_T("Press ENTER to exit")); getchar(); return 0; } Shell Execute HINSTANCE ShellExecute( \_In\_opt\_ HWND hwnd,