MCPcopy Create free account
hub / github.com/codehamr/codehamr / reExec

Function reExec

cmd/codehamr/reexec_windows.go:20–39  ·  view source on GitHub ↗

reExec runs the freshly-installed binary. Windows has no execve, so instead of the Unix same-PID swap we spawn it as a child sharing our stdio, wait, and forward its exit code: one continuous session despite two brief PIDs. signal.Ignore(os.Interrupt) is load-bearing: otherwise the parent's default

(exe string, args []string, env []string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected