subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def run_refresh_command(cmd: str, timeout: float, ignore_errors: bool) -> None: result = subprocess.run( cmd, shell=True, text=True,- Confidence
- 97% confidence
- Finding
- result = subprocess.run( cmd, shell=True, text=True, capture_output=True, timeout=timeout, )
