proc

package
v0.0.0-...-92c1b66 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

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

type Proc

type Proc struct {
	Name    string
	Command string
	Arg     string
	Process *os.Process
}

func New

func New(name string, command string, arg string) *Proc

func (*Proc) Execute

func (p *Proc) Execute()

func (*Proc) Kill

func (p *Proc) Kill() bool

func (*Proc) RunCommand

func (p *Proc) RunCommand(ch chan<- Data)

Jump to

Keyboard shortcuts

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