0down votefavorite <https://stackoverflow.com/questions/52359442/why-is-go-starting-multiple-child-process?noredirect=1#>
I have a simple go program like this, package main import ( "log" "time") func main () { log.Println("sleep 30s") time.Sleep(30 * time.Second)} When I start it with go run main.go, it shows multiple child process in pstree: | |-bash(1563)---go(3001)-+-main(3042)-+-{main}(3044) | | | |-{main}(3045) | | | `-{main}(3046) Anyone know what's happening? Limiting GOMAXPROC does not help here. I'm using go version go1.11 linux/amd64 -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.