Basically, I am running one exe file using execFile method from the child process...
That exe file used ffmpeg for some conversion... If ffmpeg throws some error (Basically it won't affect the actual process) my child process is terminated automatically because the error has been captured...
this.recorder = execFile(`"${BIN}"`, command, { shell: true, maxBuffer: (1024 * 1024 * 2) }, (error) => {
if (error) {
log('error', 'Recorder error', error);
}
});
Is there any way to prevent this?