cmds

package
v0.0.0-...-136905e Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsyncExec

func AsyncExec(name string, args ...string) (chan *Output, error)

AsyncExec Async exec a command

func Exec

func Exec(name string, args ...string) (string, error)

Exec exec a command

Types

type Output

type Output struct {
	LineNo  uint32 // Start 1
	Message string
	Error   error
}

Jump to

Keyboard shortcuts

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