daemon

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	IsChildEnv     = "GOUTILS_IS_CHILD_PROCESS"
	IsChildProcess = "GOUTILS_IS_CHILD_PROCESS=true"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Daemon

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

func NewDaemon

func NewDaemon() *Daemon

func (*Daemon) Run

func (that *Daemon) Run(osArgs ...string)

func (*Daemon) SetScriptName

func (that *Daemon) SetScriptName(batName string)

for windows

func (*Daemon) SetWorkdir

func (that *Daemon) SetWorkdir(d string)

for windows

Jump to

Keyboard shortcuts

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