Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Executor ¶ added in v0.4.0
Executor returns an exec func that can execute a NEScript locally. A subcommand can be provided for the script (e.g. ["sh", "-c"]) or if nil, the default will be used. Also a working directory can be set, that if left empty will be set to the current working directory.
Types ¶
type LocalProcess ¶
type LocalProcess struct {
// contains filtered or unexported fields
}
Process represents a single instance of the script running or completed on the local device.
func (*LocalProcess) Close ¶
func (p *LocalProcess) Close()
func (*LocalProcess) Exited ¶
func (p *LocalProcess) Exited() bool
func (*LocalProcess) Kill ¶
func (p *LocalProcess) Kill() error
func (*LocalProcess) Write ¶
func (p *LocalProcess) Write(input string) error
Click to show internal directories.
Click to hide internal directories.