Browse Source

Redirected client program stdout and stderr

Wirecog 7 years ago
parent
commit
b64538ae31
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      kick.go

+ 2
- 0
kick.go View File

32
 		} else {
32
 		} else {
33
 			os.Chdir(gopherjsAppPath)
33
 			os.Chdir(gopherjsAppPath)
34
 			gjsCommand := exec.Command("gopherjs", "build")
34
 			gjsCommand := exec.Command("gopherjs", "build")
35
+			gjsCommand.Stdout = os.Stdout
36
+			gjsCommand.Stderr = os.Stderr
35
 			gjsCommand.Start()
37
 			gjsCommand.Start()
36
 			os.Chdir(cwd)
38
 			os.Chdir(cwd)
37
 		}
39
 		}