Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Executor ¶
Executor returns an exec func that can execute a NEScript locally. A working directory can optionally be specified, where if not, the current working directory of the application is used. This ExecFunc does not require that the cmd/script be converted to a string, so is Formatter agnostic.
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.