Get the process ID (or -1 if the process is not running).
()
| 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 { |
no outgoing calls
no test coverage detected