Wait for stdio to close

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi 2016-03-11 14:26:07 -08:00
parent 41d041270b
commit e57fccc481
2 changed files with 21 additions and 3 deletions

View file

@ -117,6 +117,7 @@ func main() {
}
// runtime has exited so the shim can also exit
if exitShim {
p.Wait()
return
}
}