process

package
v0.0.0-...-8093761 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DaemonizeProcess

func DaemonizeProcess() error

DaemonizeProcess 데몬 프로세스 생성

Returns:

  • error: 성공(nil), 실패(error)

func IsProcessRun

func IsProcessRun(pid int) bool

IsProcessRun 프로세스가 동작 중인지 확인

Parameters:

  • pid: PID

Returns:

  • bool: 동작(true), 미동작(false)

func SendSignal

func SendSignal(pid int, sig syscall.Signal) error

SendSignal 프로세스에 시그널 전송

Parameters:

  • pid: PID
  • sig: signal

Returns:

  • error: 성공(nil), 실패(error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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