public function execute(InputInterface $input, OutputInterface $output) { $runnerFactory = new RunnerFactory(); $runnerFactory->createParallel()->addProcesses($this->getProcesses($input, $output))->run(); }
public function execute(InputInterface $input, OutputInterface $output) { $app = $this->getApplication(); $runnerFactory = new RunnerFactory(); $runnerFactory->createParallel()->addProcesses($app->find('test-remote-connection')->getProcesses($input, $output))->addProcesses($app->find('test-download')->getProcesses($input, $output))->run(); }