pmt

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Start shell start
	Start = 0
	// Stop shell stop
	Stop = 1
	// ReStart shell restart
	ReStart = 2

	// StartOP start
	StartOP = "start"
	// StopOP stop
	StopOP = "stop"
	// ReStartOP restart
	ReStartOP = "restart"
)

Functions

func Exec

func Exec(command []string) (string, error)

Exec exec shell command

func GenCommand

func GenCommand(pmt, app string, op int) (args []string, err error)

GenCommand Script returns a command to execute a script through a shell.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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