exec

package
v1.2.17 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandWithCancel

func CommandWithCancel(handle func(reader io.Reader), name string, arg ...string) (err error)

func CommandWithTimeout

func CommandWithTimeout(handle func(io.Reader), timeout time.Duration, name string, arg ...string) (err error)

func CommandWithTimeoutHandler

func CommandWithTimeoutHandler(timeout time.Duration, name string, arg ...string) (data []byte, err error)

func KillProcByName

func KillProcByName(pname string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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