internal

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetStd

func SetStd(sh Shared, cmd *exec.Cmd)

Types

type Shared

type Shared struct {
	Input    string
	Path     string
	PathConf struct {
		Enabled bool
		Path    string // It's the same as Cmd.Path
	}

	CStd struct {
		Enabled bool
		Stdin   bool
		Stderr  bool
		Stdout  bool
	}
}

func (*Shared) SetInput

func (sh *Shared) SetInput(input string)

func (*Shared) SetInputf

func (sh *Shared) SetInputf(input string, args ...any)

func (*Shared) SetPath

func (sh *Shared) SetPath(path string)

func (*Shared) SetPathf

func (sh *Shared) SetPathf(path string, args ...any)

Jump to

Keyboard shortcuts

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