News for hackers. Stuff that matters.
Re:Golang Automatic Reloads by deafbybeheading on Saturday September 21, 2013 @12:15PM (#6423391)
Not to mention the program sigkills itself before it attempts to `exit 0`...
Re:Golang Automatic Reloads by alexedwards on Saturday September 21, 2013 @01:00PM (#6423562)
Genuine question - can a process kill itself?

The kill of go-reload was to make sure background processes get cleaned up, but I suspect one of the kill or exit in the close function is superfluous.

Re:Golang Automatic Reloads by justin66 on Saturday September 21, 2013 @02:10PM (#6423845)
> Genuine question - can a process kill itself?

Sure. Send the signal, the signal handler - custom or default - handles it. This works whether the signal comes from another process or its own process.