MCPcopy Index your code
hub / github.com/PowerShell/vscode-powershell / getPid

Method getPid

src/process.ts:206–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204
205 // Returns the process Id of the consoleTerminal
206 public async getPid(): Promise<number | undefined> {
207 return await this.consoleTerminal?.processId;
208 }
209
210 public showTerminal(preserveFocus?: boolean): void {
211 this.consoleTerminal?.show(preserveFocus);

Callers 4

startMethod · 0.95
writePidIfInDevModeMethod · 0.80
getLanguageServerPidMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected