src/ProcessBuilder.php
public function run($command)
    {
        $process = new Process(
            $command,
            null,
            null,
            null,
            ini_get('max_execution_time')
        );

        $process->run(function ($type, $buffer) {
            if (Process::ERR === $type) {
                $this->console->warn(trim($buffer));
            } else {
                $this->console->info(trim($buffer));
            }
        });

        if (!$process->isSuccessful()) {
            throw new ProcessFailedException($process);
        }

        return true;
    }
public function run($command)
    {
        $process = new Process(
            $command,
            null,
            null,
            null,
            ini_get('max_execution_time')
        );

        $process->run(function ($type, $buffer) {
            if (Process::ERR === $type) {
                $this->console->warn(trim($buffer));
            } else {
                $this->console->info(trim($buffer));
            }
        });

        if (!$process->isSuccessful()) {
            throw new ProcessFailedException($process);
        }

        return true;
    }
Run the created process builder.

@param $command

@return bool