run

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCmd

func RunCmd(
	commandStr, dir string,
	envList []string,
	logMode config.LogMode,
	logger *io.Logger,
	logFields map[string]interface{},
) error

RunCmd executes a command in the current shell in a specific directory.

func RunFile

func RunFile(
	filename, dir string,
	envList []string,
	logMode config.LogMode,
	logger *io.Logger,
	logFields map[string]interface{},
) error

RunFile executes a file in the current shell in a specific directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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