public function read($command, $eol = PHP_EOL)
    {
        exec($command, $output);
        return implode($eol, $output);
    }
public function read($command, $eol = PHP_EOL)
    {
        exec($command, $output);
        return implode($eol, $output);
    }
public function read ( $ command , $ eol = PHP_EOL ) { exec ( $ command , $ output ) ; return implode ( $ eol , $ output ) ; }
reads the result of a command.

@param string $command
@param string $eol
@return string
reads the result of a command .