Replace the current process with a script from scripts/.
(script_name: str, *args: str)
| 11 | |
| 12 | |
| 13 | def _exec_script(script_name: str, *args: str): |
| 14 | """Replace the current process with a script from scripts/.""" |
| 15 | os.execv( |
| 16 | sys.executable, [sys.executable, str(_SCRIPTS_DIR / script_name)] + list(args) |
| 17 | ) |
| 18 | |
| 19 | |
| 20 | def run( |
no outgoing calls
no test coverage detected