mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
Merge pull request #13095 from Microsoft/10662-pkgrexec
Windows: reexec pkg supported Upstream-commit: 61cb6012e6b4085f9c867d826431368bb18896c8 Component: engine
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// +build !linux
|
||||
// +build !linux,!windows
|
||||
|
||||
package reexec
|
||||
|
||||
|
||||
14
components/engine/pkg/reexec/command_windows.go
Normal file
14
components/engine/pkg/reexec/command_windows.go
Normal file
@@ -0,0 +1,14 @@
|
||||
// +build windows
|
||||
|
||||
package reexec
|
||||
|
||||
import (
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
func Command(args ...string) *exec.Cmd {
|
||||
return &exec.Cmd{
|
||||
Path: Self(),
|
||||
Args: args,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user