subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def sh(cmd: str, check: bool = True) -> subprocess.CompletedProcess: return subprocess.run(cmd, shell=True, text=True, capture_output=True, check=check) def load_cfg(skill_root: Path) -> dict:- Confidence
- 96% confidence
- Finding
- return subprocess.run(cmd, shell=True, text=True, capture_output=True, check=check)
