MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / system_with_output

Function system_with_output

api-docs/cppdocs/build_min_docs.py:27–34  ·  view source on GitHub ↗
(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)

Source from the content-addressed store, hash-verified

25doxygen = "doxygen" #to make testing other versions easier
26
27def system_with_output(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE):
28 proc = subprocess.Popen("" + cmd,
29 stdout=stdout,
30 stderr=stderr,
31 shell=True,
32 universal_newlines=True)
33 std_out, std_err = proc.communicate()
34 return proc.returncode, std_out, std_err
35
36
37deletion_queue = []

Callers 1

build_doxygenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected