Commit d3bef22e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent a69c4b3e
......@@ -58,7 +58,7 @@ func StartTreeGen(zurl string) (_ *TreeGen, err error) {
tg.pysrv = exec.Command("./testprog/treegen.py", "trees")
tg.pysrv.Stdin, tg.pyin = io.Pipe()
tg.pyoutRaw, tg.pysrv.Stdout = io.Pipe()
tg.pyout = bufio.NewReader(tg.pyout)
tg.pyout = bufio.NewReader(tg.pyoutRaw)
tg.pysrv.Stderr = os.Stderr // no redirection
err = tg.pysrv.Start()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment