curl / Mailing Lists / curl-users / Single Mail


Re: Finding PID of a curl process

From: Dan Fandrich <>
Date: Mon, 29 Apr 2019 09:20:57 +0200

On Mon, Apr 29, 2019 at 06:39:38AM +0000, Jon Harris wrote:
> 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.

Your scripting language should handle this already. For example, bash has $!
and the wait builtin.
Received on 2019-04-29