|
if script_line.startswith("python -m"): |
|
command = script_line.replace( |
|
"python -m", f"{os.path.join(environment.executives_path, 'python')} -m" |
|
).split(" ") |
|
elif script_line.startswith("coverage run"): |
|
command = script_line.replace( |
|
"coverage run", |
|
f"{os.path.join(environment.executives_path, 'coverage')} run", |
|
).split(" ") |