exec

package
v0.53.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capture

func Capture(ctx context.Context, dir, exe string, args ...string) ([]byte, error)

func LookPath

func LookPath(exe string) (string, error)

Types

type Cmd

type Cmd struct {
	*exec.Cmd
}

func Command

func Command(ctx context.Context, level log.Level, dir, exe string, args ...string) *Cmd

func (*Cmd) Kill

func (c *Cmd) Kill(signal syscall.Signal) error

Kill sends a signal to the process group of the command.

Jump to

Keyboard shortcuts

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