Documentation
¶
Overview ¶
Package process provides a mechanism for running processes under a different user account to the current process
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct {
SystemError error
ExitError *exec.ExitError
Duration time.Duration
Aborted bool
KernelTime time.Duration
UserTime time.Duration
}
func (*Result) CrashCause ¶
func (*Result) ExitCode ¶
Returns the exit code, or
-1 if the process has not exited -2 if the process crashed -3 it could not be established what happened -4 if process was aborted
func (*Result) FailureCause ¶
Click to show internal directories.
Click to hide internal directories.