MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / getPid

Method getPid

src/back/ManagedChildProcess.ts:86–88  ·  view source on GitHub ↗

Get the process ID (or -1 if the process is not running).

()

Source from the content-addressed store, hash-verified

84
85 /** Get the process ID (or -1 if the process is not running). */
86 public getPid(): number {
87 return this.process ? this.process.pid : -1;
88 }
89
90 /** Get the state of the process. */
91 public getState(): ProcessState {

Callers 4

launchCbFunction · 0.80
launchGameFunction · 0.80
procToServiceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected