dell_storagecenter_driver/iscsi_utils.py
def _exec(cmd):
    """Executes a command.

    Runs a command and gets its output.
    :param cmd: The command line to run.
    :returns: The output from the command.
    """
    LOG.info('Running %s', cmd)
    output = subprocess.check_output(shlex.split(cmd))
    if output:
        LOG.debug('Result: %s', output)
    return output
Executes a command.

    Runs a command and gets its output.
    :param cmd: The command line to run.
    :returns: The output from the command.
    
Executes a command.
Runs a command and gets its output.
Executes a command . Runs a command and gets its output .
def _exec(cmd):
    LOG.info('Running %s', cmd)
    output = subprocess.check_output(shlex.split(cmd))
    if output:
        LOG.debug('Result: %s', output)
    return output
def _exec ( cmd ) : LOG . info ( 'Running %s' , cmd ) output = subprocess . check_output ( shlex . split ( cmd ) ) if output : LOG . debug ( 'Result: %s' , output ) return output
Executes a command.
Executes a command .
"""Executes a command.

    Runs a command and gets its output.
    :param cmd: The command line to run.
    :returns: The output from the command.
    """
The output from the command.
The output from the command .
cmd
The command line to run.
The command line to run .