INNER CODE UNIT · Go
waitDone
jwilder/dockerize · exec.go:77
waitDone = []<-chan struct{}{done}
}
select {
case <-waitDone[0]:
return
case <-time.After(10 * time.Second):
log.Println("Killing command due to timeout.")
process.Process.Kill()
}
}