hide console window when running v2ctl. fix #779

This commit is contained in:
Darien Raymond committed 2017-12-13 13:42:07 +01:00
1 parent ba26fd8361
commit cad3ab41aa
3 files changed
+21

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ func jsonToProto(input io.Reader) (*core.Config, error) {
cmd := exec.Command(v2ctl, "config")
cmd.Stdin = input
cmd.Stderr = os.Stderr
cmd.SysProcAttr = getSysProcAttr()
stdoutReader, err := cmd.StdoutPipe()
if err != nil {