subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
"""关闭所有 nebula 和 eog 进程""" # 杀死所有 nebula.py 进程 try: subprocess.run(['pkill', '-9', '-f', 'python3.*nebula.py'], capture_output=True, timeout=2) except: pass- Confidence
- 89% confidence
- Finding
- subprocess.run(['pkill', '-9', '-f', 'python3.*nebula.py'], capture_output=True, timeout=2)
