info('Running "' . $cmd . '"'); $process = new Process($cmd); $process->run(function ($type, $buffer) { if (Process::ERR === $type) { echo $buffer; } else { echo $buffer; } }); } }