parameters: (args)
return_statement: return program + ' ' + ' '.join(QuoteForRspFile(arg) for arg in args[1:])
docstring: Process a list of arguments using QuoteCmdExeArgument.
docstring_summary: Process a list of arguments using QuoteCmdExeArgument.
docstring_tokens: Process a list of arguments using QuoteCmdExeArgument .
function: def EncodeRspFileList(args):
    """Process a list of arguments using QuoteCmdExeArgument."""
    # Note that the first argument is assumed to be the command. Don't add
    # quotes around it because then built-ins like 'echo', etc. won't work.
    # Take care to normpath only the path in the case of 'call ../x.bat' because
    # otherwise the whole thing is incorrectly interpreted as a path and not
    # normalized correctly.
    if not args: return ''
    if args[0].startswith('call '):
      call, program = args[0].split(' ', 1)
      program = call + ' ' + os.path.normpath(program)
    else:
      program = os.path.normpath(args[0])
    return program + ' ' + ' '.join(QuoteForRspFile(arg) for arg in args[1:])
function_tokens: def EncodeRspFileList ( args ) : # Note that the first argument is assumed to be the command. Don't add # quotes around it because then built-ins like 'echo', etc. won't work. # Take care to normpath only the path in the case of 'call ../x.bat' because # otherwise the whole thing is incorrectly interpreted as a path and not # normalized correctly. if not args : return '' if args [ 0 ] . startswith ( 'call ' ) : call , program = args [ 0 ] . split ( ' ' , 1 ) program = call + ' ' + os . path . normpath ( program ) else : program = os . path . normpath ( args [ 0 ] ) return program + ' ' + ' ' . join ( QuoteForRspFile ( arg ) for arg in args [ 1 : ] )