command

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HideWindow

func HideWindow(bool bool) *syscall.SysProcAttr

func IsWindows

func IsWindows() bool

Types

type CMD

type CMD struct {
	HideWindow      bool
	IsPrint         bool
	Dir             string
	MessageCallback func([]byte, error)
	// contains filtered or unexported fields
}

func NewCMD

func NewCMD() *CMD

func (*CMD) Close

func (m *CMD) Close()

func (*CMD) Command

func (m *CMD) Command(name string, args ...string)

Jump to

Keyboard shortcuts

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