github.com/golang/dep@v0.5.4/gps/cmd_windows.go (about)

     1  // Copyright 2017 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package gps
     6  
     7  import (
     8  	"context"
     9  	"os/exec"
    10  )
    11  
    12  type cmd struct {
    13  	*exec.Cmd
    14  }
    15  
    16  func commandContext(ctx context.Context, name string, arg ...string) cmd {
    17  	return cmd{Cmd: exec.CommandContext(ctx, name, arg...)}
    18  }