exec

package
v0.6.0-rc10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WaitFunc

type WaitFunc func() error

func Run

func Run(cmd []string, env ...string) (string, context.CancelCauseFunc, WaitFunc, error)

Run runs a command, outputting to terminal and returning the full output and/or error a channel is returned which, when sent on, will terminate the process that was started

Jump to

Keyboard shortcuts

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