mirror of
https://github.com/PerpetualSoftware/pad.git
synced 2026-09-11 13:28:57 +00:00
81579847c6
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
19 lines
330 B
Go
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()
|
|
}
|