package execabs

Import Path
	internal/execabs (on golang.org and go.dev)

Dependency Relation
	imports 6 packages, and imported by 4 packages

Involved Source Files Package execabs is a drop-in replacement for os/exec that requires PATH lookups to find absolute paths. That is, execabs.Command("cmd") runs the same PATH lookup as exec.Command("cmd"), but if the result is a path which is relative, the Run and Start methods will report an error instead of running the executable.
Package-Level Type Names (total 3)
/* sort by: | */
type Cmd = exec.Cmd (struct)
type Error = exec.Error (struct)
type ExitError = exec.ExitError (struct)
Package-Level Functions (total 3)
func Command(name string, arg ...string) *exec.Cmd
func CommandContext(ctx context.Context, name string, arg ...string) *exec.Cmd
func LookPath(file string) (string, error)
Package-Level Variables (only one)