public function run()
    {
        $this->setUserAndGroup();

        $out = $this->out;
        $err = $this->err;
        $process = new \Symfony\Component\Process\Process($this->cmd, null, null, null, null);
        $process->run(function ($type, $buffer) use ($out, $err) {
            if ($type == \Symfony\Component\Process\Process::ERR) {
                $err->error($buffer);
            } else {
                $out->info($buffer);
            }
        });
    }
public function run()
    {
        $this->setUserAndGroup();

        $out = $this->out;
        $err = $this->err;
        $process = new \Symfony\Component\Process\Process($this->cmd, null, null, null, null);
        $process->run(function ($type, $buffer) use ($out, $err) {
            if ($type == \Symfony\Component\Process\Process::ERR) {
                $err->error($buffer);
            } else {
                $out->info($buffer);
            }
        });
    }
public function run ( ) { $ this -> setUserAndGroup ( ) ; $ out = $ this -> out ; $ err = $ this -> err ; $ process = new \ Symfony \ Component \ Process \ Process ( $ this -> cmd , null , null , null , null ) ; $ process -> run ( function ( $ type , $ buffer ) use ( $ out , $ err ) { if ( $ type == \ Symfony \ Component \ Process \ Process :: ERR ) { $ err -> error ( $ buffer ) ; } else { $ out -> info ( $ buffer ) ; } } ) ; }
start mission process
start mission process