MCPcopy Create free account
hub / github.com/atripati/ark / findPython

Function findPython

pkg/runtime/verify.go:774–781  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

772 for _, bin := range []string{"python3", "python"} {
773 if _, err := exec.LookPath(bin); err == nil {
774 return bin
775 }
776 }
777 return ""
778}
779
780func cleanCompilerError(raw string) string {
781 lines := strings.Split(strings.TrimSpace(raw), "\n")
782 if len(lines) > 5 {
783 lines = lines[:5]
784 }

Callers 1

executePythonFullFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected