launchctl

package
v1.0.64 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Name        string
	Argv        []string
	ExitTimeout *time.Duration
	CreateLog   bool
}

func (*Agent) Bootstrap

func (a *Agent) Bootstrap() error

func (*Agent) Create

func (a *Agent) Create() error

func (*Agent) Disable added in v1.0.14

func (a *Agent) Disable() error

func (*Agent) Enable added in v1.0.14

func (a *Agent) Enable() error

func (*Agent) FullLabel

func (a *Agent) FullLabel() string

func (*Agent) Kickstart

func (a *Agent) Kickstart() error

func (*Agent) LogPath added in v1.0.13

func (a *Agent) LogPath() (string, error)

func (*Agent) PlistPath

func (a *Agent) PlistPath() (string, error)

func (*Agent) Shutdown

func (a *Agent) Shutdown() error

func (*Agent) Status added in v1.0.12

func (a *Agent) Status() (string, error)

func (*Agent) ToXML

func (a *Agent) ToXML() (string, error)

Jump to

Keyboard shortcuts

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