package childproc
import "tailscale.com/cmd/tailscaled/childproc"
Package childproc allows other packages to register "tailscaled be-child" child process hook code. This avoids duplicating build tags in the tailscaled package. Instead, the code that needs to fork/exec the self executable (when it's tailscaled) can instead register the code they want to run.
Index ¶
Variables ¶
Functions ¶
func Add ¶
Add registers code f to run as 'tailscaled be-child <typ> [args]'.
Source Files ¶
childproc.go
- Version
- v1.84.1 (latest)
- Published
- May 29, 2025
- Platform
- linux/amd64
- Last checked
- 6 hours ago –
Tools for package owners.