sys_exec

package
v0.6.0-6 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 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

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