github.com/toplink-cn/moby@v0.0.0-20240305205811-460b4aebdf81/pkg/reexec/command_unsupported.go (about)

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