github.com/cdoern/storage@v1.12.13/pkg/reexec/command_unsupported.go (about)

     1  // +build !linux,!windows,!freebsd,!solaris,!darwin
     2  
     3  package reexec
     4  
     5  import (
     6  	"context"
     7  	"os/exec"
     8  )
     9  
    10  // Command is unsupported on operating systems apart from Linux, Windows, Solaris and Darwin.
    11  func Command(args ...string) *exec.Cmd {
    12  	return nil
    13  }
    14  
    15  // CommandContext is unsupported on operating systems apart from Linux, Windows, Solaris and Darwin.
    16  func CommandContext(ctx context.Context, args ...string) *exec.Cmd {
    17  	return nil
    18  }