Files
pad/internal/cli/server_windows.go
T
xarmian 81579847c6 Initial release
Pad — project management for developers and AI agents.
Single Go binary with embedded SvelteKit web UI, SQLite storage,
CLI, and Claude Code /pad skill integration.

https://getpad.dev
2026-03-26 01:52:36 +00:00

19 lines
330 B
Go

//go:build windows
package cli
import (
"os"
"os/exec"
)
func setSysProcAttr(cmd *exec.Cmd) {
// No Setsid equivalent on Windows; process will detach naturally
// when started without a console allocation.
}
func stopProcess(p *os.Process) error {
// Windows doesn't support SIGTERM; use Kill instead.
return p.Kill()
}