MCPcopy Create free account
hub / github.com/Bareflank/hypervisor / start

Method start

utils/iwyu_tool.py:263–271  ·  view source on GitHub ↗

Start a Process for the invocation and capture stdout+stderr.

(cls, invocation)

Source from the content-addressed store, hash-verified

261
262 @classmethod
263 def start(cls, invocation):
264 """ Start a Process for the invocation and capture stdout+stderr. """
265 outfile = tempfile.TemporaryFile(prefix='iwyu')
266 process = subprocess.Popen(
267 invocation.command,
268 cwd=invocation.cwd,
269 stdout=outfile,
270 stderr=subprocess.STDOUT)
271 return cls(process, outfile, invocation.source_file)
272
273
274class Invocation(object):

Callers 2

startMethod · 0.45
executeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected