subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
open_output_dir["attempted"] = True open_output_dir["command"] = "open" try: open_result = subprocess.run( ["open", output_dir_path], check=False, capture_output=True,- Confidence
- 98% confidence
- Finding
- open_result = subprocess.run( ["open", output_dir_path], check=False, capture_output=True, text=True, timeout=10, )
