static/jsvm/interfaces/os.ProcessState.html
ProcessState stores information about a process, as reported by Wait.
exitCodeexitedpidstringsuccesssyssysUsagesystemTimeuserTime
ExitCode returns the exit code of the exited process, or -1 if the process hasn't exited or was terminated by a signal.
Exited reports whether the program has exited. On Unix systems this reports true if the program exited due to calling exit, but false if the program terminated due to a signal.
Pid returns the process id of the exited process.
Success reports whether the program exited successfully, such as with exit status 0 on Unix.
Sys returns system-dependent exit information about the process. Convert it to the appropriate underlying type, such as [syscall.WaitStatus] on Unix, to access its contents.
SysUsage returns system-dependent resource usage information about the exited process. Convert it to the appropriate underlying type, such as [*syscall.Rusage] on Unix, to access its contents. (On Unix, *syscall.Rusage matches struct rusage as defined in the getrusage(2) manual page.)
SystemTime returns the system CPU time of the exited process and its children.
UserTime returns the user CPU time of the exited process and its children.
OSLightDark
Generated using TypeDoc