subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
system = platform.system() try: if system == "Darwin": subprocess.Popen(["open", filepath]) elif system == "Windows": os.startfile(filepath) elif system == "Linux":- Confidence
- 88% confidence
- Finding
- subprocess.Popen(["open", filepath])
