subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
if dry_run: print(" [dry-run] Would run tests.") return True rc = subprocess.run(runner, shell=True).returncode if rc != 0: print(f" Tests failed (exit {rc}). Fix before finishing the branch.") return False- Confidence
- 98% confidence
- Finding
- rc = subprocess.run(runner, shell=True).returncode
