subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
system_name = platform.system().lower() if system_name == "windows": command = _build_windows_command(location, recursive) output = subprocess.run( command, capture_output=True, text=True,- Confidence
- 98% confidence
- Finding
- output = subprocess.run( command, capture_output=True, text=True, encoding="utf-8", errors="replace", check=True,
