I am using seperate executable for render process by using below code
- Code: Select all
int exit_code = CefExecuteProcess(main_args,NULL);
if (exit_code >= 0) {
// The sub-process terminated, exit now.
return exit_code;
}
const char *path= "C:\\MangoFeatures_Win8\\Deployment\\ThirdParty\\Cef3\\SubProcApp\\SubProc\\Debug\\SubProc.exe";
CefString(&appSettings.browser_subprocess_path).FromASCII(path);
Its spawns subproc.exe for render process.
However when i close the browser the subproc.exe doesnt get killed. How to kill subproc.exe ?? and how to run subproc.exe in background???