package reexec
import "github.com/docker/docker/pkg/reexec"
Index ¶
- func Command(args ...string) *exec.Cmd
- func Init() bool
- func Register(name string, initializer func())
- func Self() string
Functions ¶
func Command ¶
func Init ¶
func Init() bool
Init is called as the first part of the exec process and returns true if an initialization function was called.
func Register ¶
func Register(name string, initializer func())
Register adds an initialization func under the specified name
func Self ¶
func Self() string
Self returns the path to the current processes binary
Source Files ¶
command_unsupported.go reexec.go
- Version
- v1.5.0
- Published
- Feb 10, 2015
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 5 minutes ago –
Tools for package owners.