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

Function run

test/modules/md/dns01_v2.py:10–18  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

8
9
10def run(args):
11 sys.stderr.write(f"run: {' '.join(args)}\n")
12 p = subprocess.Popen(args, stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
13 output, errput = p.communicate(None)
14 rv = p.wait()
15 if rv != 0:
16 sys.stderr.write(errput.decode())
17 sys.stdout.write(output.decode())
18 return rv
19
20
21def teardown(domain):

Callers 2

teardownFunction · 0.70
setupFunction · 0.70

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected