Fixed a couple of (very rare) race conditions (#2112)
* Fixed concurrent write to variables `err` and `n` * Fix concurrent access to p.cmd.Process The go-routine was spawned before the process was started. This means that p.Kill may read p.cmd.Process before it is written in p.Run.
Showing
Please register or sign in to comment