Documentation
¶
Index ¶
- Variables
- func BlockEmptyString(field string) func(val string) error
- func DebugLog(format string, args ...interface{})
- func ExecuteCommand(command string, logToDebug bool) error
- func FileExists(value string) bool
- func ForceKill(pid int) error
- func GetShellArgs() []string
- func HomeDirPath() (string, error)
- func IsDebug() bool
- func PidExists(pid int) bool
- func ResolvePath(path string) (string, error)
- func SoftKill(pid int) error
Constants ¶
This section is empty.
Variables ¶
View Source
var IsSystemd = sync.OnceValue(isSystemdUsed)
Functions ¶
func BlockEmptyString ¶
func ExecuteCommand ¶
func FileExists ¶
func GetShellArgs ¶
func GetShellArgs() []string
func HomeDirPath ¶
GetRunAppDir returns the path to the runapp directory in the user's home directory
func ResolvePath ¶
ResolvePath resolves a path, expanding the home directory if it starts with "~"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.