os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
print_status("Restarting with new version...") # Re-execute with the new version os.execv(sys.executable, [sys.executable, new_tool_path] + sys.argv[1:]) except Exception as e: if verbose:- Confidence
- 99% confidence
- Finding
- os.execv(sys.executable, [sys.executable, new_tool_path] + sys.argv[1:])
