src/Notification.php
protected function execute($command)
    {
        $status = null;
        $result = array();
        exec($command, $result, $status);
        return !$status ? $result : null;
    }
protected function execute($command)
    {
        $status = null;
        $result = array();
        exec($command, $result, $status);
        return !$status ? $result : null;
    }
protected function execute ( $ command ) { $ status = null ; $ result = array ( ) ; exec ( $ command , $ result , $ status ) ; return ! $ status ? $ result : null ; }
Executes a shell command.

@param string $command

@return array|null
Executes a shell command .