cmd

package
v0.0.0-...-abe4f24 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	Run(string, ...string) ([]byte, error) // exe, args
}

func NewCommand

func NewCommand() Command

func NewShellCommand

func NewShellCommand() Command

type ShellCommand

type ShellCommand struct {
	// contains filtered or unexported fields
}

func (ShellCommand) Run

func (c ShellCommand) Run(exe string, args ...string) ([]byte, error)

Jump to

Keyboard shortcuts

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