server_unix.go 180 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
//go:build !windows

package lifecycle

import (
	"context"
	"os/exec"
)

func getCmd(ctx context.Context, cmd string) *exec.Cmd {
	return exec.CommandContext(ctx, cmd, "serve")
}