Documentation
¶
Index ¶
- Variables
- type Distro
- type WslCmd
- func (c *WslCmd) CombinedOutput() (out []byte, err error)
- func (c *WslCmd) ExitCode() int
- func (c *WslCmd) ExitSignal() string
- func (c *WslCmd) GetProcess() *os.Process
- func (c *WslCmd) GetProcessState() *os.ProcessState
- func (c *WslCmd) Output() (out []byte, err error)
- func (c *WslCmd) Run() error
- func (c *WslCmd) SetStderr(stderr io.Writer)
- func (c *WslCmd) SetStdin(stdin io.Reader)
- func (c *WslCmd) SetStdout(stdout io.Writer)
- func (c *WslCmd) Start() (err error)
- func (c *WslCmd) StderrPipe() (r io.ReadCloser, err error)
- func (c *WslCmd) StdinPipe() (w io.WriteCloser, err error)
- func (c *WslCmd) StdoutPipe() (r io.ReadCloser, err error)
- func (c *WslCmd) Wait() (err error)
- type WslName
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDistro = gowsl.DefaultDistro
View Source
var RegisteredDistros = gowsl.RegisteredDistros
Functions ¶
This section is empty.
Types ¶
type WslCmd ¶
type WslCmd struct {
// contains filtered or unexported fields
}
func GetDistroCmd ¶
func (*WslCmd) CombinedOutput ¶
func (*WslCmd) ExitSignal ¶ added in v0.14.0
func (*WslCmd) GetProcess ¶
func (*WslCmd) GetProcessState ¶
func (c *WslCmd) GetProcessState() *os.ProcessState
func (*WslCmd) StderrPipe ¶
func (c *WslCmd) StderrPipe() (r io.ReadCloser, err error)
func (*WslCmd) StdoutPipe ¶
func (c *WslCmd) StdoutPipe() (r io.ReadCloser, err error)
Click to show internal directories.
Click to hide internal directories.