github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/engine/pkg/reexec/command_unsupported.go (about)

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