Merge pull request #13095 from Microsoft/10662-pkgrexec

Windows: reexec pkg supported
This commit is contained in:
Alexander Morozov 2015-05-09 09:38:42 -07:00
commit 909ce88eb4
2 changed files with 15 additions and 1 deletions

View file

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

14
reexec/command_windows.go Normal file
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,
}
}