Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(ctx context.Context, cancelTimeout time.Duration, cmdLine string, opts *Opts) ([]string, []string, error)
Run runs command and returns stdout and stderr lines. Both are also tee'd to os.Stderr for a progress reporting. When ctx is canceled, SIGTERM is sent, and then SIGKILL after cancelTimeout.
Types ¶
Click to show internal directories.
Click to hide internal directories.