def quoteArguments(arguments):
 return ' '.join(map(cmdLineQuote, arguments))

def quoteArguments ( arguments ) : return ' ' . join ( map ( cmdLineQuote , arguments ) )
quote an iterable of command-line arguments for passing to createprocess or a similar api .