src/vs/workbench/contrib/terminal/browser/terminalInstance.ts/TerminalInstance/waitOnExit
class TerminalInstance:	get waitOnExit(): ITerminalInstance['waitOnExit'] { return this._shellLaunchConfig.attachPersistentProcess?.waitOnExit || this._shellLaunchConfig.waitOnExit; }