(cmd: Sequence[str])
| 111 | |
| 112 | |
| 113 | def run_external_cmd(cmd: Sequence[str]) -> None: |
| 114 | print("CALL:", *cmd, sep=" ") |
| 115 | try: |
| 116 | subprocess.check_call( |
| 117 | cmd |
| 118 | ) # nosec B603 - cmd assembled from vetted scripts/flags |
| 119 | except subprocess.CalledProcessError as err: |
| 120 | print("ERROR called: ", *cmd, sep=" ") |
| 121 | print(f"Failed with: {err.returncode}") |
| 122 | sys.exit(err.returncode) |
| 123 | |
| 124 | |
| 125 | def build_libs(et_build_root: str, script_path: str): |
no outgoing calls
no test coverage detected