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

Hmm - I see there's now "lockdev" for managing access to things like serial lines, but what's the preferred method of expressing "only one instance of this program should run at any one time"?




I don't know what the preferred method is. But so far, flocking on my own executable works for me.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: