Documentation ¶
Index ¶
- func CallContext(prog string, stdin []byte, timeout int, args ...string) ([]byte, error)
- func CheckExitErr(err error) bool
- func ExecBashCmd(cmd string) ([]byte, error)
- func ExecBashCmdWithContext(ctx context.Context, cmd string) ([]byte, error)
- func ExecCmd(cmd string, args ...string) ([]byte, error)
- func ExecCmdString(cmd string, args []string) (string, error)
- func ExecCmdWithContext(ctx context.Context, cmd string, args ...string) ([]byte, error)
- func ExecCmdWithReadWrite(cmd string, args []string, in *bytes.Buffer, out *bytes.Buffer) error
- func ExecCmdWithReadWriteAndTimeout(cmd string, args []string, timeout time.Duration, in *bytes.Buffer, ...) error
- func ExecShCmd(cmd string) ([]byte, error)
- func ExecShCmdWithContext(ctx context.Context, cmd string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallContext ¶
func CheckExitErr ¶
func ExecBashCmd ¶
func ExecBashCmdWithContext ¶
func ExecCmdWithContext ¶
func ExecCmdWithReadWrite ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.