MCPcopy Create free account
hub / github.com/alibaba/MNN / run_cmd

Function run_cmd

tools/script/testResource.py:17–20  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

15 thredhold = ' ' + sys.argv[3] + ' '
16
17def run_cmd(args):
18 process = Popen(args, stdout=PIPE, stderr=PIPE, universal_newlines=True)
19 stdout, stderr = process.communicate()
20 return stdout, stderr
21
22for name in os.listdir(root_dir):
23 if name.startswith("."):

Callers 1

testResource.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected