ollama/app/lifecycle/server_unix.go

13 lines
180 B
Go
Raw Normal View History

//go:build !windows
package lifecycle
import (
"context"
"os/exec"
)
func getCmd(ctx context.Context, cmd string) *exec.Cmd {
return exec.CommandContext(ctx, cmd, "serve")
}