src/vs/platform/terminal/node/childProcessMonitor.ts/ChildProcessMonitor/_refreshActive
class ChildProcessMonitor:	private async _refreshActive(): Promise<void> {
		if (this._isDisposed) {
			return;
		}
		try {
			const processItem = await listProcesses(this._pid);
			this.hasChildProcesses = this._processContainsChildren(processItem);
		} catch (e) {
			this._logService.debug('ChildProcessMonitor: Fetching process tree failed', e);
		}
	}