Documentation ¶ Index ¶ func Command(name string, arg ...string) *exec.Cmd func CommandWithContext(ctx context.Context, name string, arg ...string) *exec.Cmd func LookPath(file string) (res string, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Command ¶ func Command(name string, arg ...string) *exec.Cmd func CommandWithContext ¶ func CommandWithContext(ctx context.Context, name string, arg ...string) *exec.Cmd func LookPath ¶ func LookPath(file string) (res string, err error) The new version of golang's os/exec library has added the restriction "cannot run executable found relative to current directory". In order to maintain compatibility, we encapsulated exec.LookPath and exec.Command to ignored ErrDot. Types ¶ This section is empty. Source Files ¶ View all Source files executil.go Click to show internal directories. Click to hide internal directories.