luci: go.chromium.org/luci/cmdrunner Index | Files

package cmdrunner

import "go.chromium.org/luci/cmdrunner"

Index

Package Files

command.go

Variables

var ErrHardTimeout = errors.Reason("timeout happens").Err()

ErrHardTimeout is error for timeout from Run command.

func Run Uses

func Run(ctx context.Context, command []string, cwd string, env environ.Env, hardTimeout time.Duration, gracePeriod time.Duration, lowerPriority bool, containment bool) (int, error)

Run runs the command.

Package cmdrunner imports 12 packages (graph). Updated 2019-07-19. Refresh now. Tools for package owners.