Documentation
¶
Index ¶
- type CmdResult
- func Exec(cmd string, args ...string) (CmdResult, error)
- func ExecWithContext(ctx context.Context, cmd string, args ...string) (CmdResult, error)
- func ExecWithContextAndEnv(ctx context.Context, env []string, cmd string, args ...string) (CmdResult, error)
- func ExecWithContextInDir(ctx context.Context, dir, cmd string, args, env []string) (CmdResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdResult ¶
CmdResult output of a command, including stdout and stderr
func ExecWithContext ¶
func ExecWithContextAndEnv ¶
Click to show internal directories.
Click to hide internal directories.