When I launch a graphical application from VSCode's terminal, the newly launched application appears as a new VSCode window in Ubuntu's dock and when using Alt+TAB to switch between windows/applications. For example, when I launch evince from VSCode, I don't see the evince icon in the dock, but GNOME groups the evince window and the VSCode window under the VSCode application in the dock).
What mechanism is used to attach windows created by separate applications to the VSCode window? Is there a way to disable it (i.e. let the VSCode terminal behave like usual terminals when launching GUI applications)?