Skip to content

Commit

Permalink
Merge pull request #2881 from remotion-dev/dont-log-nproc
Browse files Browse the repository at this point in the history
Former-commit-id: eb19ce0
  • Loading branch information
JonnyBurger authored Sep 11, 2023
2 parents c646822 + ec8c3f0 commit 28adcfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/renderer/src/get-cpu-count.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 28adcfc

Please sign in to comment.