exec

package
v0.0.0-...-ff244ab Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCmd

func CreateCmd(cmdStr, workDir string) *exec.Cmd

CreateCmd creates an exec.Cmd.

func KillCmd

func KillCmd(c *exec.Cmd) error

KillCmd sends a KILL signal to the command.

Types

type ServiceOptions

type ServiceOptions struct {
	Slug string `json:"slug"`
	Name string `json:"name"`
	File string `json:"service_file"`

	Message *ServiceOptions `json:"message"`
}

ServiceOptions contains the options to execute a service.

Jump to

Keyboard shortcuts

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