src/vs/workbench/contrib/terminal/browser/terminalProcessManager.ts/TerminalProcessManager/_createPtyProcessReadyPromise
class TerminalProcessManager:	private _createPtyProcessReadyPromise(): Promise<void> {
		return new Promise<void>(c => {
			const listener = this.onProcessReady(() => {
				this._logService.debug(`Terminal process ready (shellProcessId: ${this.shellProcessId})`);
				listener.dispose();
				c(undefined);
			});
		});
	}