Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Exports = map[string]lua.LGFunction{
"log": defaultCore.LuaLog,
"environ": defaultCore.LuaEnviron,
"exec": defaultCore.LuaExecRaw,
"start": defaultCore.LuaStartRaw,
"make_group": defaultCore.LuaMakeGroup,
"wait": defaultCore.LuaWait,
}
Exports contains the API for the lark.core lua module.
View Source
var Module = gluamodule.New("lark.core", Loader, doc.Module, )
Module is a gluamodule.Module that loads the lark.core module.
Functions ¶
Types ¶
type ExecRawOpt ¶
type ExecRawOpt struct { Env []string Dir string Input []byte StdinFile string StdoutFile string StdoutAppend bool StderrFile string // StderrAppend is ignored if StderrFile equals StdoutFile. StderrAppend bool // TODO: Output capture. This will interact interestingly with command // result caching and file redirection. It should be thought out more. StdoutCapture bool StderrCapture bool StdoutTee bool StderrTee bool }
ExecRawOpt contains options for ExecRaw.
type ExecRawResult ¶
ExecRawResult is returned from ExecRaw
func ExecRaw ¶
func ExecRaw(name string, args []string, opt *ExecRawOpt) *ExecRawResult
ExecRaw executes the named command with the given arguments.
Click to show internal directories.
Click to hide internal directories.