application

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	Executable string
	Dir        string
	Args       []string
	Env        []string

	//// Logger to use. Default is logrus.StandardLogger().
	Logger logrus.FieldLogger

	// Stdout to connect to spawned processes
	Stdout io.Writer

	// Stderr to connect to spawned processes
	Stderr io.Writer
}

func NewApplication

func NewApplication() *Application

Creates a new Application.

func (*Application) Run

func (a *Application) Run() (*os.ProcessState, error)

Run the application.

Jump to

Keyboard shortcuts

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