environments
environments copied to clipboard
binary-env: Waiting for WaitGroup before cmd is released
I added a wg.Wait()
to assure all pipes are read before they are released by cmd.Wait()
(see here). Since all the other WaitGroup
logic is already there I assume this simply has been missed.
fixes #339