subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
checker = workdir / "scripts" / "tools" / "doc-sync-checker.py" if checker.exists(): try: result = subprocess.run( [sys.executable, str(checker), "--json"], capture_output=True, text=True, cwd=str(workdir), timeout=30 )- Confidence
- 99% confidence
- Finding
- result = subprocess.run( [sys.executable, str(checker), "--json"], capture_output=True, text=True, cwd=str(workdir), timeout=30 )
