curl / Mailing Lists / curl-users / Single Mail

curl-users

RE: Finding PID of a curl process

From: Jon Harris <jharris_at_symetrix.co>
Date: Mon, 29 Apr 2019 06:39:38 +0000

"Shouldn't this be something that you handle from your C program? If you're in control of the fork call, you know the PID.
dR"

I was oversimplifying the problem for the sake of this discussion. I have cases where curl is launched from an external script and/or needs to be monitored by a process other than the one that started it. It would be convenient to easily find the pid in those cases, the same way you can for many daemons out there.

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-04-29