🎥 Make videos programmatically with React
don't log nproc failure
Jonny Burger263721d0cb2f
diff --git a/packages/renderer/src/get-cpu-count.ts b/packages/renderer/src/get-cpu-count.tsindex 673a687dda..93add1d7a8 100644--- a/packages/renderer/src/get-cpu-count.ts+++ b/packages/renderer/src/get-cpu-count.ts@@ -8,7 +8,7 @@ import {cpus} from 'node:os';// We also get it from nproc and use the minimum of the two.const getConcurrencyFromNProc = (): number | null => {try {- return parseInt(execSync('nproc').toString().trim(), 10);+ return parseInt(execSync('nproc', {stdio: 'pipe'}).toString().trim(), 10);} catch (error) {return null;}