I tried py-setproctitle and setproctitle. Both of them didn’t work on OpenBSD.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The problem is here
In
setup.pyit tests ifsetproctitleis defined inunistd.h, although it is defined instdlib.hon OpenBSD.By checking in
stdlib.htoo (which is included later on – So no worries), everything works as expected.Diff below:
The man-page from OpenBSD: setproctitle(3) hints that it is in
stdlib.h.