(cmd)
Prints and executes command "cmd". Also waits half a second
        Used by rtl8187_fix (for prettiness)
Prints and executes command "cmd". Also waits half a second
        Used by rtl8187_fix (for prettiness)
Prints and executes command cmd . Also waits half a second Used by rtl8187_fix ( for prettiness )
def print_and_exec(cmd):
    """
        Prints and executes command "cmd". Also waits half a second
        Used by rtl8187_fix (for prettiness)
    """
    print '\r                                                        \r',
    stdout.flush()
    print O+' [!] '+W+'executing: '+O+' '.join(cmd) + W,
    stdout.flush()
    call(cmd, stdout=DN, stderr=DN)
    time.sleep(0.1)
def print_and_exec ( cmd ) : print '\r                                                        \r' , stdout . flush ( ) print O + ' [!] ' + W + 'executing: ' + O + ' ' . join ( cmd ) + W , stdout . flush ( ) call ( cmd , stdout = DN , stderr = DN ) time . sleep ( 0.1 )