tool_exec

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAvailable

func IsAvailable(binary, customPath string) bool

Types

type Command

type Command struct {
	*exec.Cmd
}

func MustNew

func MustNew(binary string, args []string, opts *Options) *Command

func New

func New(binary string, args []string, opts *Options) (*Command, error)

type Options

type Options struct {
	CustomPath string
	Env        map[string]string
	Dir        string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL