github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/pkg/reexec/command_unsupported.go (about)

     1  // +build !linux,!windows,!freebsd,!darwin
     2  
     3  package reexec // import "github.com/demonoid81/moby/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  }