command

package
v0.8.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2025 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(cmd string) bool

func ExistsForUser

func ExistsForUser(cmd, user 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

func WrapCommandError(stdout []byte, err error) error

Types

type Error

type Error struct {
	// contains filtered or unexported fields
}

func (*Error) Error

func (e *Error) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL