parameters: (args)
return_statement: return args
docstring: Quote command-line arguments for DOS/Windows conventions.
  
      Just wraps every argument which contains blanks in double quotes, and
      returns a new argument list.
docstring_summary: Quote command-line arguments for DOS/Windows conventions.
docstring_tokens: Quote command - line arguments for DOS / Windows conventions .
function: def _nt_quote_args(args):
      """Quote command-line arguments for DOS/Windows conventions.
  
      Just wraps every argument which contains blanks in double quotes, and
      returns a new argument list.
      """
      # XXX this doesn't seem very robust to me -- but if the Windows guys
      # say it'll work, I guess I'll have to accept it.  (What if an arg
      # contains quotes?  What other magic characters, other than spaces,
      # have to be escaped?  Is there an escaping mechanism other than
      # quoting?)
      for i, arg in enumerate(args):
          if ' ' in arg:
              args[i] = '"%s"' % arg
      return args
function_tokens: def _nt_quote_args ( args ) : # XXX this doesn't seem very robust to me -- but if the Windows guys # say it'll work, I guess I'll have to accept it.  (What if an arg # contains quotes?  What other magic characters, other than spaces, # have to be escaped?  Is there an escaping mechanism other than # quoting?) for i , arg in enumerate ( args ) : if ' ' in arg : args [ i ] = '"%s"' % arg return args