cmd

package
v0.0.0-...-833c838 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package cmd provides utilities for running shell commands

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdFactory

type CmdFactory struct {
	// contains filtered or unexported fields
}
var DefaultFactory *CmdFactory

func NewCmdFactory

func NewCmdFactory() *CmdFactory

func (*CmdFactory) CreateCmd

func (this *CmdFactory) CreateCmd(scriptPath string) *exec.Cmd

func (*CmdFactory) GetMaterialsDir

func (this *CmdFactory) GetMaterialsDir() string

func (*CmdFactory) GetWorkingDir

func (this *CmdFactory) GetWorkingDir() string

func (*CmdFactory) SetMaterialsDir

func (this *CmdFactory) SetMaterialsDir(s string)

set NMZ_MATERIALS_DIR

func (*CmdFactory) SetWorkingDir

func (this *CmdFactory) SetWorkingDir(s string)

set NMZ_WORKING_DIR

Jump to

Keyboard shortcuts

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