milton sun

Results 3 comments of milton sun

今天看到这遇到了相同的问题,是代码有bug,在cmd2 start之前就向cmd2的stdin中写数据,数据无法被处理导致程序阻塞。 修改很简单,就是把写数据操作放在cmd2 start之后,已经提交了pull request https://github.com/hyper0x/goc2p/pull/19 met the same problem today. It outcomes a bug of the code. Because outputBuf1.WriteTo(stdin2) write output of command1 before commond2 start, and that will...

![image](https://user-images.githubusercontent.com/5087190/50268898-6c804900-0467-11e9-972b-d7872d13902f.png)