command_unsupported.go 317 B

12345678910111213141516
  1. //go:build !linux && !windows && !freebsd && !darwin
  2. package reexec // import "github.com/docker/docker/pkg/reexec"
  3. import (
  4. "os/exec"
  5. )
  6. func Self() string {
  7. return ""
  8. }
  9. // Command is unsupported on operating systems apart from Linux, Windows, and Darwin.
  10. func Command(args ...string) *exec.Cmd {
  11. return nil
  12. }