We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
command not found: nproc
1 parent 898f2c3 commit 2392fd8Copy full SHA for 2392fd8
src/voku/SimplePhpParser/Parsers/Helper/Utils.php
@@ -468,7 +468,7 @@ public static function getCpuCores(): int
468
}
469
470
/** @noinspection PhpUsageOfSilenceOperatorInspection */
471
- $ret = @\shell_exec('nproc');
+ $ret = @\shell_exec('nproc 2>&1');
472
if (\is_string($ret)) {
473
$ret = \trim($ret);
474
/** @noinspection PhpAssignmentInConditionInspection */
0 commit comments