PhpBrew\PrefixFinder\BrewPrefixFinder::execLine PHP Method

execLine() protected method

protected execLine ( $command )
    protected function execLine($command)
    {
        $output = array();
        exec($command, $output, $retval);
        if ($retval === 0) {
            $output = array_filter($output);
            return end($output);
        }
        return false;
    }