Browse Source

Redirected client program stdout and stderr

Wirecog 6 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,6 +32,8 @@ func start() *exec.Cmd {
32 32
 		} else {
33 33
 			os.Chdir(gopherjsAppPath)
34 34
 			gjsCommand := exec.Command("gopherjs", "build")
35
+			gjsCommand.Stdout = os.Stdout
36
+			gjsCommand.Stderr = os.Stderr
35 37
 			gjsCommand.Start()
36 38
 			os.Chdir(cwd)
37 39
 		}