subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
# problems surface through _translate_cli_error at runtime. have_hcloud = False try: proc = subprocess.run( ["bash", "-lc", "command -v hcloud"], capture_output=True, text=True, timeout=10 ) have_hcloud = proc.returncode == 0- Confidence
- 79% confidence
- Finding
- proc = subprocess.run( ["bash", "-lc", "command -v hcloud"], capture_output=True, text=True, timeout=10 )
