Skip to content

Commit

Permalink
Run with parallel runner only when proc_open is not disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jun 22, 2022
1 parent 7fe4847 commit a6163fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Command/AnalyserRunner.php
Expand Up @@ -12,6 +12,7 @@
use function array_filter;
use function array_values;
use function count;
use function function_exists;
use function is_file;

class AnalyserRunner
Expand Down Expand Up @@ -59,6 +60,7 @@ public function runAnalyser(
if (
!$debug
&& $allowParallel
&& function_exists('proc_open')
&& $mainScript !== null
&& $schedule->getNumberOfProcesses() > 0
) {
Expand Down

0 comments on commit a6163fd

Please sign in to comment.