src/vs/workbench/contrib/terminal/browser/terminalInstance.ts/TerminalInstance/hasChildProcesses
class TerminalInstance:	get hasChildProcesses(): boolean { return this.shellLaunchConfig.attachPersistentProcess?.hasChildProcesses || this._processManager.hasChildProcesses; }