Add CommandContext(), which is like Command(), but which also takes a context, very much in keeping with os/exec.CommandContext(). Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> |
||
|---|---|---|
| .. | ||
| README.md | ||
| command_linux.go | ||
| command_unix.go | ||
| command_unsupported.go | ||
| command_windows.go | ||
| reexec.go | ||
| reexec_test.go | ||
README.md
reexec
The reexec package facilitates the busybox style reexec of the docker binary that we require because
of the forking limitations of using Go. Handlers can be registered with a name and the argv 0 of
the exec of the binary will be used to find and execute custom init paths.