Documentation ¶
Overview ¶
Package reexec facilitates the busybox style reexec of a binary.
Deprecated: this package is deprecated and moved to a separate module. Use github.com/moby/sys/reexec instead.
Index ¶
- func Command(args ...string) *exec.Cmddeprecated
- func Init() booldeprecated
- func Register(name string, initializer func())deprecated
- func Self() stringdeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init
deprecated
func Init() bool
Init is called as the first part of the exec process and returns true if an initialization function was called.
Deprecated: use reexec.Init instead.
func Register
deprecated
func Register(name string, initializer func())
Register adds an initialization func under the specified name. It panics if the given name is already registered.
Deprecated: use reexec.Register instead.
func Self
deprecated
func Self() string
Self returns the path to the current process's binary.
Deprecated: use reexec.Self instead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.