sys_exec

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCmd

func BuildCmd(cmdStr string) *exec.Cmd

func KillProcess

func KillProcess(cmd *exec.Cmd, opts *KillProcessOptions) error

func Setpgid

func Setpgid(cmd *exec.Cmd)

Types

type KillProcessOptions added in v1.0.6

type KillProcessOptions struct {
	Timeout time.Duration
	Force   bool
}

Jump to

Keyboard shortcuts

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