MCPcopy Create free account
hub / github.com/RenderKit/oidn / run

Function run

scripts/common.py:14–18  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

12
13# Runs a command and checks the return value for success
14def run(command):
15 status = os.system(command)
16 if status != 0:
17 print('Error: non-zero return value')
18 exit(1)
19
20def download_file(url, output_dir):
21 print('Downloading file:', url)

Callers 6

test.pyFile · 0.85
run_testFunction · 0.85
build.pyFile · 0.85
build_weights.pyFile · 0.85
catch.hppFile · 0.85
runMethod · 0.85

Calls 1

printFunction · 0.85

Tested by 1

run_testFunction · 0.68