README ¶ Golang's process clone cannot specify functions to execute like c, which is very inconvenient. This reexec module provides this feature, which relies mainly on golang's init function feature. Expand ▾ Collapse ▴ Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func Command(args ...string) *exec.Cmd func Init() bool func Register(name string, initializer func()) func Self() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Command ¶ func Command(args ...string) *exec.Cmd func Init ¶ func Init() bool func Register ¶ func Register(name string, initializer func()) func Self ¶ func Self() string Types ¶ This section is empty. Source Files ¶ View all Source files command_linux.go reexec.go Click to show internal directories. Click to hide internal directories.