exe

package
v10.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdBuilder

type CmdBuilder struct {
	GitBin          string
	GitFlags        []string
	MakepkgFlags    []string
	MakepkgConfPath string
	MakepkgBin      string
}

func (*CmdBuilder) BuildGitCmd

func (c *CmdBuilder) BuildGitCmd(dir string, extraArgs ...string) *exec.Cmd

func (*CmdBuilder) BuildMakepkgCmd

func (c *CmdBuilder) BuildMakepkgCmd(dir string, extraArgs ...string) *exec.Cmd

type OSRunner

type OSRunner struct {
}

func (*OSRunner) Capture

func (r *OSRunner) Capture(cmd *exec.Cmd, timeout int64) (stdout, stderr string, err error)

func (*OSRunner) Show

func (r *OSRunner) Show(cmd *exec.Cmd) error

type Runner

type Runner interface {
	Capture(cmd *exec.Cmd, timeout int64) (stdout string, stderr string, err error)
	Show(cmd *exec.Cmd) error
}

Jump to

Keyboard shortcuts

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