daemonize

package
v1.58.1-0...-47970fe Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartDaemon

func StartDaemon(args []string) (*os.Process, error)

StartDaemon runs background twin of current process. It executes separate parts of code in child and parent processes. Returns child process pid in the parent or nil in the child. The method looks like a fork but safe for goroutines.

Types

This section is empty.

Jump to

Keyboard shortcuts

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