Re: Waiting for a forked child to finish

2019-05-11 Thread C K Kashyap
Super! .. thanks Alex! On Sat, May 11, 2019 at 1:17 PM Alexander Burger wrote: > On Sat, May 11, 2019 at 12:26:30PM -0700, C K Kashyap wrote: > > I am trying to download a bunch of URLs in parallel and wait until all > the > > downloads have finished before proceeding. Calling (kill Pid 0)

Re: Waiting for a forked child to finish

2019-05-11 Thread Alexander Burger
On Sat, May 11, 2019 at 12:26:30PM -0700, C K Kashyap wrote: > I am trying to download a bunch of URLs in parallel and wait until all the > downloads have finished before proceeding. Calling (kill Pid 0) seems > reasonable. I would use 'later' for that. It is a frontend to 'pipe'. You could

Re: Waiting for a forked child to finish

2019-05-11 Thread C K Kashyap
Thanks Alex, I am trying to download a bunch of URLs in parallel and wait until all the downloads have finished before proceeding. Calling (kill Pid 0) seems reasonable. Regards, Kashyap On Sat, May 11, 2019 at 11:24 AM Alexander Burger wrote: > Hi Kashyap, > > > How can I wait for a forked

Re: Waiting for a forked child to finish

2019-05-11 Thread Alexander Burger
Hi Kashyap, > How can I wait for a forked child to finish in picoLisp? Unless you call wait() via 'native', there is no explicit interface to this system call. If you start the child via 'in', 'out', 'call' or 'pipe', the waiting is handled by PicoLisp internally for you. If you need to call

Waiting for a forked child to finish

2019-05-11 Thread C K Kashyap
Hi, How can I wait for a forked child to finish in picoLisp? Regards, Kashyap