MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / killStarted

Function killStarted

core/utils/cmd/cmdx.go:388–395  ·  view source on GitHub ↗
(cmds []*exec.Cmd)

Source from the content-addressed store, hash-verified

386}
387
388func killStarted(cmds []*exec.Cmd) {
389 killProcessGroups(cmds)
390 for _, item := range cmds {
391 if item.Process != nil {
392 _ = item.Wait()
393 }
394 }
395}
396
397func killProcessGroups(cmds []*exec.Cmd) {
398 for _, item := range cmds {

Callers 1

startPipeCommandsFunction · 0.70

Calls 2

killProcessGroupsFunction · 0.70
WaitMethod · 0.45

Tested by

no test coverage detected