Welcome "Terminal Intent" as newly accepted #Freedesktop draft specification 🎉 . The spec provides a common (D-Bus) interface for launching console applications in terminal emulators.
This way, no application needs to discover and hardcode a specific list of terminal emulators to execute a command in terminals.
"Terminal Intent" works together with the existing intent-apps spec to select the right terminal emulator for the current DE (or preferred by the user).
See https://specifications.freedesktop.org/terminal-intent/latest/ 1/2