Properties
args
args: IProcessOpts["args"]
autoRestarter
autoRestarter: () => Promise<void>
binPath
binPath: IProcessOpts["binPath"]
childProcess
childProcess: ChildProcess | undefined
closeListener
closeListener: (code: any, signal: any) => void
Type declaration
-
- (code: any, signal: any): void
Optional cwd
cwd: IProcessOpts["cwd"]
Optional env
env: IProcessOpts["env"]
errorListener
errorListener: (err: any) => void
name
name: IProcessOpts["name"]
Optional onError
onError: IProcessOpts["onError"]
restarts
restarts: number
stdioLogging
stdioLogging: IProcessOpts["stdioLogging"]
stop
stop: () => Promise<void>
Number of restarts the process has encountered since the process was initialized.