subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
# Use nohup to allow the script to survive if the parent dies, # though systemctl restart might handle it. subprocess.Popen(["/bin/bash", RESET_SCRIPT], start_new_session=True) if __name__ == "__main__": main()- Confidence
- 95% confidence
- Finding
- subprocess.Popen(["/bin/bash", RESET_SCRIPT], start_new_session=True)
