Task/Process/ProcessExecutorTask.php
public function execute(ProcessState $state)
    {
        $input = $state->getInput();
        $process = $this->getOption($state, 'process');

        $output = $this->processManager->execute(
            $process,
            $input,
            $this->getOption($state, 'context')
        );
        $state->setOutput($output);
    }
public function execute(ProcessState $state)
    {
        $input = $state->getInput();
        $process = $this->getOption($state, 'process');

        $output = $this->processManager->execute(
            $process,
            $input,
            $this->getOption($state, 'context')
        );
        $state->setOutput($output);
    }
{@inheritdoc}

@throws \InvalidArgumentException
@throws \Symfony\Component\OptionsResolver\Exception\ExceptionInterface
@throws \Exception