protected function start($supervisor)
    {
        if ($supervisor->options->nice) {
            proc_nice($supervisor->options->nice);
        }

        $supervisor->handleOutputUsing(function ($type, $line) {
            $this->output->write($line);
        });

        $supervisor->working = ! $this->option('paused');

        $supervisor->scale(max(
            0, $this->option('max-processes') - $supervisor->totalSystemProcessCount()
        ));

        $supervisor->monitor();
    }
protected function start($supervisor)
    {
        if ($supervisor->options->nice) {
            proc_nice($supervisor->options->nice);
        }

        $supervisor->handleOutputUsing(function ($type, $line) {
            $this->output->write($line);
        });

        $supervisor->working = ! $this->option('paused');

        $supervisor->scale(max(
            0, $this->option('max-processes') - $supervisor->totalSystemProcessCount()
        ));

        $supervisor->monitor();
    }
protected function start ( $ supervisor ) { if ( $ supervisor -> options -> nice ) { proc_nice ( $ supervisor -> options -> nice ) ; } $ supervisor -> handleOutputUsing ( function ( $ type , $ line ) { $ this -> output -> write ( $ line ) ; } ) ; $ supervisor -> working = ! $ this -> option ( 'paused' ) ; $ supervisor -> scale ( max ( 0 , $ this -> option ( 'max-processes' ) - $ supervisor -> totalSystemProcessCount ( ) ) ) ; $ supervisor -> monitor ( ) ; }
Start the given supervisor.

@param  \Laravel\Horizon\Supervisor  $supervisor
@return void
Start the given supervisor .