Documentation ¶ Index ¶ func Run(arg, dir string, in ...*bytes.Buffer) (string, error) type RunFunc Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(arg, dir string, in ...*bytes.Buffer) (string, error) Run provides the execution of shell scripts in golang, which can support macOS, Windows, and Linux operating systems. Other operating systems are currently not supported Types ¶ type RunFunc ¶ type RunFunc func(string, string, ...*bytes.Buffer) (string, error) RunFunc defines a function type of Run function Source Files ¶ View all Source files execx.go Click to show internal directories. Click to hide internal directories.