``` λ> bash $ yes "" | make oldconfig scripts/kconfig/conf --oldconfig Kconfig # # configuration written to .config # $ exit λ> yes "" | make oldconfig scripts/kconfig/conf --oldconfig Kconfig # # configuration written to .config # ... command does't exit... ^CERROR: <interactive>:1:7: signal: interrupt|success ```
Activity
i4ki commentedon Apr 30, 2017
@vitorarins need to use
os.Wait(-1, 0)to get same semantic.ofwaitpid(WAIT_ANY, ...). Or do every wait in a separate goroutine:https://groups.google.com/forum/m/#!topic/golang-nuts/kaoPxl1L1SY
vitorarins commentedon Apr 30, 2017
Great! There's a guy in that thread saying that using wait with pid -1 might be dangerous, do you know anything about that?
i4ki commentedon May 13, 2017
unfortunately, no :/