MCPcopy
hub / github.com/wavetermdev/waveterm / WSLProcessController

Struct WSLProcessController

pkg/genconn/wsl-impl.go:29–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29type WSLProcessController struct {
30 distro *wsl.Distro
31 cmd *wsl.WslCmd
32 lock *sync.Mutex
33 once *sync.Once
34 stdinPiped bool
35 stdoutPiped bool
36 stderrPiped bool
37 waitErr error
38 started bool
39 cmdSpec CommandSpec
40}
41
42func MakeWSLProcessController(distro *wsl.Distro, cmdSpec CommandSpec) (*WSLProcessController, error) {
43 fullCmd, err := BuildShellCommand(cmdSpec)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected