On Fri, Jan 11, 2019 at 2:49 PM <astone.c...@gmail.com> wrote:

> I get the file 'exit0', but didn't get the file 'exit1'.

As far as I can tell, it works as expected. Exit handlers are called when
libc's 'exit' is invoked. I don't think that the Go runtime does that. The
proper way to handle process exiting is to handle it in its parent process.

-- 

-j

-- 
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.

Reply via email to