daemonize

package
v1.61.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Overview

Package daemonize provides daemonization interface for Unix platforms.

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