Looks like terminateProcess is being used from the renderer and has 2 occurrences of cp.execFileSync () and cp.spawnSync () that should use the async variant instead. It should be possible to just ...