Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One use I can think of is killing a child process in such a way that the parent process considers it has successfully returned.

For example you have a "curl" command in a script that is waiting for a server that doesn't respond, killing the process with the kill command may cause the script to fail. If you want the script to continue anyway, you can use that trick.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: