def quote_cmdlinearg(arg):
    'Perform platform-appropriate argument quoting'
    return ('"{}"'.format(arg.replace('"', '""')) if on_windows else shlex_quote(arg))
Perform platform-appropriate argument quoting
def quote_cmdlinearg(arg):
    
    return ('"{}"'.format(arg.replace('"', '')) if on_windows else shlex_quote(arg))