Documentation
¶
Index ¶
Constants ¶
View Source
const OsWindows = "windows"
OsWindows is windows os name
Variables ¶
This section is empty.
Functions ¶
func FormatExitError ¶
FormatExitError extracts process wait error and formats it
func KillProcessGroup ¶
KillProcessGroup kills process group created by parent process
func PrepareCommand ¶
PrepareCommand prepares a command to execute
Types ¶
type Environment ¶
Environment is map of predefined scope variables
func (Environment) Empty ¶
func (e Environment) Empty() bool
Empty checks if predefined vars list is empty
func (Environment) ToArray ¶
func (e Environment) ToArray(defaults ...string) (arr []string)
ToArray returns array of variables usable for exec.Cmd
Click to show internal directories.
Click to hide internal directories.