MCPcopy Create free account
hub / github.com/apache/httpd / _run

Method _run

test/pyhttpd/nghttp.py:298–304  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

296 return self._raw(url, timeout, options)
297
298 def _run(self, args) -> ExecResult:
299 print(("execute: %s" % " ".join(args)))
300 start = datetime.now()
301 p = subprocess.run(args, capture_output=True, text=False)
302 return ExecResult(args=args, exit_code=p.returncode,
303 stdout=p.stdout, stderr=p.stderr,
304 duration=datetime.now() - start)

Callers 1

_baserunMethod · 0.95

Calls 3

ExecResultClass · 0.85
joinMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected