subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
cmd.extend(['-b', background]) try: result = subprocess.run( cmd, capture_output=True, text=True,- Confidence
- 99% confidence
- Finding
- result = subprocess.run( cmd, capture_output=True, text=True, check=True, shell=True, cwd=os.path.dirname(os.path.abspat
