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