(cmd: str, args)
| 24 | |
| 25 | |
| 26 | def exec_cmd(cmd: str, args): |
| 27 | found, cmdpath = find_in_python_root(cmd) |
| 28 | if found: |
| 29 | # Execute it with all command line arguments. |
| 30 | subprocess.call([cmdpath] + args) |
| 31 | else: |
| 32 | print("cannot find {}".format(os.path.basename(__file__))) |
| 33 | exit(1) |
| 34 | |
| 35 | |
| 36 | def run_bmf_graph(): |
no test coverage detected