Add docstring to reexec.Command

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
Alexander Morozov 2015-07-20 10:16:37 -07:00
parent ab8d2da487
commit 0340c8548a
3 changed files with 8 additions and 0 deletions

View file

@ -6,6 +6,9 @@ import (
"os/exec"
)
// Command returns *exec.Cmd which have Path as current binary.
// For example if current binary is "docker.exe" at "C:\", then cmd.Path will
// be set to "C:\docker.exe".
func Command(args ...string) *exec.Cmd {
return &exec.Cmd{
Path: Self(),