parameters: (self, arch, rspfile, *dir)
return_statement: return popen.returncode
docstring: Runs an action command line from a response file using the environment
      for |arch|. If |dir| is supplied, use that as the working directory.
docstring_summary: Runs an action command line from a response file using the environment
      for |arch|. If |dir| is supplied, use that as the working directory.
docstring_tokens: Runs an action command line from a response file using the environment for |arch| . If |dir| is supplied use that as the working directory .
function: def ExecActionWrapper(self, arch, rspfile, *dir):
      """Runs an action command line from a response file using the environment
      for |arch|. If |dir| is supplied, use that as the working directory."""
      env = self._GetEnv(arch)
      args = open(rspfile).read()
      dir = dir[0] if dir else None
      popen = subprocess.Popen(args, shell=True, env=env, cwd=dir)
      popen.wait()
      return popen.returncode
function_tokens: def ExecActionWrapper ( self , arch , rspfile , * dir ) : env = self . _GetEnv ( arch ) args = open ( rspfile ) . read ( ) dir = dir [ 0 ] if dir else None popen = subprocess . Popen ( args , shell = True , env = env , cwd = dir ) popen . wait ( ) return popen . returncode