PR #759 introduced cleanupOrphanedClaude() using syscall.Kill directly, which breaks Windows builds. This extracts the function to: - start_orphan_unix.go: Full implementation with SIGTERM/SIGKILL - start_orphan_windows.go: Stub (orphan signals not supported) Follows existing pattern: process_unix.go / process_windows.go
17 lines
348 B
Go
17 lines
348 B
Go
//go:build windows
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/steveyegge/gastown/internal/style"
|
|
)
|
|
|
|
// cleanupOrphanedClaude is a Windows stub.
|
|
// Orphan cleanup requires Unix-specific signals (SIGTERM/SIGKILL).
|
|
func cleanupOrphanedClaude(graceSecs int) {
|
|
fmt.Printf(" %s Orphan cleanup not supported on Windows\n",
|
|
style.Dim.Render("○"))
|
|
}
|