29e90cc13b
This focuses on Windows first, but coudl be used for Mac and possibly linux in the future.
12 lines
180 B
Go
12 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")
|
|
}
|