private function requiredSystemCommands()
    {

        // todo fix command existence in windows os
        return true;


        // Programs needed in $PATH
        $required_commands = ['git', 'rsync','php', 'composer'];

        $missing = [];
        foreach ($required_commands as $command) {
            $this->process->setCommandLine('which ' . $command);
            $this->process->setTimeout(null);
            $this->process->run();

            if (!$this->process->isSuccessful()) {
                $missing[] = $command;
            }
        }

        if (count($missing)) {
            asort($missing);

            $this->console->error('Commands not found: ' . implode(', ', $missing));
            $this->errors = true;
        }
    }
private function requiredSystemCommands()
    {

        // todo fix command existence in windows os
        return true;


        // Programs needed in $PATH
        $required_commands = ['git', 'rsync','php', 'composer'];

        $missing = [];
        foreach ($required_commands as $command) {
            $this->process->setCommandLine('which ' . $command);
            $this->process->setTimeout(null);
            $this->process->run();

            if (!$this->process->isSuccessful()) {
                $missing[] = $command;
            }
        }

        if (count($missing)) {
            asort($missing);

            $this->console->error('Commands not found: ' . implode(', ', $missing));
            $this->errors = true;
        }
    }
private function requiredSystemCommands ( ) { // todo fix command existence in windows os return true ; // Programs needed in $PATH $ required_commands = [ 'git' , 'rsync' , 'php' , 'composer' ] ; $ missing = [ ] ; foreach ( $ required_commands as $ command ) { $ this -> process -> setCommandLine ( 'which ' . $ command ) ; $ this -> process -> setTimeout ( null ) ; $ this -> process -> run ( ) ; if ( ! $ this -> process -> isSuccessful ( ) ) { $ missing [ ] = $ command ; } } if ( count ( $ missing ) ) { asort ( $ missing ) ; $ this -> console -> error ( 'Commands not found: ' . implode ( ', ' , $ missing ) ) ; $ this -> errors = true ; } }
Checks that all the required system commands are available.
Checks that all the required system commands are available .