src/Bower.php
public function execute()
    {
        // will not run without bower
        if (is_null($this->bower)) {
            return false;
        }

        // build the bower command
        $cmd = 'cd %s && ' . $this->bower;
        if (IS_WIN) {
            $cmd = 'cd /d %s && ' . $this->bower;
        }
        $cmd .= ' install'; // install command
        $cmd .= ' %s'; // production flag
        $cmd .= ' %s'; // force flag

        // and execute it
        return $this->phpci->executeCommand($cmd, $this->directory, $this->production, $this->force);
    }
public function execute()
    {
        // will not run without bower
        if (is_null($this->bower)) {
            return false;
        }

        // build the bower command
        $cmd = 'cd %s && ' . $this->bower;
        if (IS_WIN) {
            $cmd = 'cd /d %s && ' . $this->bower;
        }
        $cmd .= ' install'; // install command
        $cmd .= ' %s'; // production flag
        $cmd .= ' %s'; // force flag

        // and execute it
        return $this->phpci->executeCommand($cmd, $this->directory, $this->production, $this->force);
    }
Executes bower and runs a specified command (e.g. install / update)