executor

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdExecutionResult added in v2.2.0

type CmdExecutionResult struct {
	Stdout []byte
	Stderr []byte
}

type CommandOutputWriter

type CommandOutputWriter struct {
	TimeoutSecond int
}

func (*CommandOutputWriter) ExecFullOutput

func (c *CommandOutputWriter) ExecFullOutput(command string) (outOk []byte, outErr []byte, err error)

func (*CommandOutputWriter) ExecHeadOutput

func (c *CommandOutputWriter) ExecHeadOutput(command string) (outOk []byte, outErr []byte, err error)

func (*CommandOutputWriter) ExecTailOutput

func (c *CommandOutputWriter) ExecTailOutput(command string) (outOk []byte, outErr []byte, err error)

Jump to

Keyboard shortcuts

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