curl / Mailing Lists / curl-users / Single Mail


RE: Finding PID of a curl process

From: Jon Harris <>
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.

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.

Received on 2019-04-29