picoclaw/web/backend/api/exec_nonwindows.go

18 lines
306 B
Go
Raw Permalink Normal View History

//go:build !windows
package api
import (
"os/exec"
"github.com/sipeed/picoclaw/web/backend/utils"
)
func launcherExecCommand(name string, args ...string) *exec.Cmd {
return utils.LauncherExecCommand(name, args...)
}
func applyLauncherProcAttrs(cmd *exec.Cmd) {
utils.ApplyLauncherProcAttrs(cmd)
}