MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / Start

Method Start

pkg/shellexec/conninterface.go:113–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111}
112
113func (cw CmdWrap) Start() error {
114 defer func() {
115 for _, extraFile := range cw.Cmd.ExtraFiles {
116 if extraFile != nil {
117 extraFile.Close()
118 }
119 }
120 }()
121 return cw.Cmd.Start()
122}
123
124func (cw CmdWrap) StdinPipe() (io.WriteCloser, error) {
125 return cw.Cmd.StdinPipe()

Callers

nothing calls this directly

Calls 2

CloseMethod · 0.65
StartMethod · 0.65

Tested by

no test coverage detected