def run(cmd, *args, **kwargs):
    'Echo a command before running it'
    log.info(('> ' + list2cmdline(cmd)))
    kwargs['shell'] = (sys.platform == 'win32')
    return check_call(cmd, *args, **kwargs)
Echo a command before running it
def run(cmd, *args, **kwargs):
    
    log.info(('> ' + list2cmdline(cmd)))
    kwargs['shell'] = (sys.platform == 'win32')
    return check_call(cmd, *args, **kwargs)