code: public function runPeridot(InputInterface $input, OutputInterface $output)
      {
          global $argv;
          $command = $this->joinCommand($argv);
          $process = new Process($command);
          $process->run(function($type, $buffer) use ($output) {
              $buffer = preg_replace('/\[([\d]{1,2})m/', "\033[$1m", $buffer);
              $output->write($buffer);
          });
      }
docs: Run an isolated process of Peridot and feed results to the output interface.
  
  @param InputInterface $input
  @param OutputInterface $output