MCPcopy
hub / github.com/mudler/LocalAI / stopServer

Function stopServer

backend/go/vibevoice-cpp/vibevoicecpp_test.go:69–75  ·  view source on GitHub ↗
(cmd *exec.Cmd)

Source from the content-addressed store, hash-verified

67}
68
69func stopServer(cmd *exec.Cmd) {
70 if cmd == nil || cmd.Process == nil {
71 return
72 }
73 _ = cmd.Process.Kill()
74 _, _ = cmd.Process.Wait()
75}
76
77func dialGRPC() *grpc.ClientConn {
78 conn, err := grpc.Dial(testAddr,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected