subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
shell_cmd = f"{shlex.quote(binary)} pipe -s 1 -i {int(interval_ms)}" try: return subprocess.run( [shell, "-lic", shell_cmd], capture_output=True, text=True,- Confidence
- 92% confidence
- Finding
- return subprocess.run( [shell, "-lic", shell_cmd], capture_output=True, text=True, check=True, timeout=20, )
