parameters: (cls, invocation)
return_statement: return cls(process, outfile, invocation.source_file)
docstring: Start a Process for the invocation and capture stdout+stderr.
docstring_summary: Start a Process for the invocation and capture stdout+stderr.
docstring_tokens: Start a Process for the invocation and capture stdout + stderr .
function: def start(cls, invocation):
          """ Start a Process for the invocation and capture stdout+stderr. """
          outfile = tempfile.TemporaryFile(prefix='iwyu')
          process = subprocess.Popen(
              invocation.command,
              cwd=invocation.cwd,
              stdout=outfile,
              stderr=subprocess.STDOUT)
          return cls(process, outfile, invocation.source_file)
function_tokens: def start ( cls , invocation ) : outfile = tempfile . TemporaryFile ( prefix = 'iwyu' ) process = subprocess . Popen ( invocation . command , cwd = invocation . cwd , stdout = outfile , stderr = subprocess . STDOUT ) return cls ( process , outfile , invocation . source_file )