1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Windows: reexec pkg supported

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2015-05-08 14:15:53 -07:00
parent 3697dddc0d
commit 64715c4f33
2 changed files with 15 additions and 1 deletions

View file

@ -1,4 +1,4 @@
// +build !linux
// +build !linux,!windows
package reexec

View 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,
}
}