Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func Exists(cmd string) bool func GetHome(userName string) (string, error) func IsRunning(pid string) (bool, error) func Kill(pid string) error func Quote(args []string) string func WrapCommandError(stdout []byte, err error) error type Error func (e *Error) Error() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Exists ¶ func Exists(cmd string) bool func GetHome ¶ func GetHome(userName string) (string, error) func IsRunning ¶ func IsRunning(pid string) (bool, error) func Kill ¶ func Kill(pid string) error func Quote ¶ func Quote(args []string) string func WrapCommandError ¶ added in v0.2.1 func WrapCommandError(stdout []byte, err error) error Types ¶ type Error ¶ added in v0.2.1 type Error struct { // contains filtered or unexported fields } func (*Error) Error ¶ added in v0.2.1 func (e *Error) Error() string Source Files ¶ View all Source files command.go escape.go process.go process_supported.go user.go Click to show internal directories. Click to hide internal directories.