'Executes a command.
Parameters
realCmd : str
The command to execute.
timeout : int
The time out in seconds for the command.
Returns
bool
True if the command succeeded.
Raises
OSError
If command fails to be executed.
RuntimeError
If command execution times out.'

@staticmethod
def executeCmd(realCmd, timeout=60, **kwargs):

    if (logSys.getEffectiveLevel() < logging.DEBUG):
        logSys.log(9, realCmd)
    if (not realCmd):
        logSys.debug('Nothing    to    do')
        return True
    with _cmd_lock:
        return Utils.executeCmd(realCmd, timeout, shell=True, output=False, **kwargs)
