this post was submitted on 02 Feb 2024
3 points (100.0% liked)

Programmer Humor

35334 readers
1 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 

edit: fixed thumbnail

top 6 comments
sorted by: hot top controversial new old
[–] vox@sopuli.xyz 2 points 2 years ago
[–] rwhitisissle@lemmy.ml 1 points 2 years ago

Depends on whether or not you want to kill only the child processes of a parent process or if you want to kill the parent as well. To kill the parent and children, you can kill the entire process group, specifying the pgid in the kill command. To kill only the parent you can trap SIGTERM in the parent and then send SIGTERM to the process group.

[–] GombeenSysadmin@lemmy.world 0 points 2 years ago (1 children)

“If you are interested in getting help with child abuse, here are some resources”

Hi ChildHelp, can you help me kick the shit out of some kids please?

[–] LoveSausage@lemmy.ml 1 points 2 years ago (2 children)
[–] Gabu@lemmy.world 1 points 2 years ago

Good ol' C&H with completely random violence for no reason.