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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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