def _run_command(cmd, options=(), env=None):
    '''
    Runs the command cmd with options as its CLI parameters and returns the
    result as a dictionary.
    '''
    params = [cmd]
    params.extend(options)
    return __salt__['cmd.run_all'](params, env=env, python_shell=False)
def _run_command ( cmd , options = ( ) , env = None ) : params = [ cmd ] params . extend ( options ) return __salt__ [ 'cmd.run_all' ] ( params , env = env , python_shell = False )
Runs the command cmd with options as its CLI parameters and returns the
    result as a dictionary.