Documentation ¶
Index ¶
- func Run(cmd Cmd) (stdout string, stderr string, err error)
- func Which(arg string, cmds ...string) (cmd string, output string, err error)
- func WhichArgs(argv []string, cmds ...string) (cmd string, output string, err error)
- func WhichWithResolver(cmds []string, resolve WhichResolver) (string, string, error)
- type Cmd
- type WhichResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WhichWithResolver ¶
func WhichWithResolver(cmds []string, resolve WhichResolver) (string, string, error)
WhichWithResolver is `Which` with a custom resolution strategy.
Types ¶
Click to show internal directories.
Click to hide internal directories.