diff --git a/src/Command/AnalyserRunner.php b/src/Command/AnalyserRunner.php index 6e5a92467d..2b0d936cae 100644 --- a/src/Command/AnalyserRunner.php +++ b/src/Command/AnalyserRunner.php @@ -62,6 +62,7 @@ public function runAnalyser( && function_exists('proc_open') && $mainScript !== null && $schedule->getNumberOfProcesses() > 0 + && count($files) > 1 ) { $loop = new StreamSelectLoop(); $result = null;