externalcmd

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

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

Cmd is an external command.

func New

func New(cmdstr string, restart bool, env Environment) *Cmd

New allocates an Cmd.

func (*Cmd) Close

func (e *Cmd) Close()

Close closes an Cmd.

type Environment

type Environment struct {
	Path string
	Port string
}

Environment is a Cmd environment.

Jump to

Keyboard shortcuts

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