[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When does a background process complete?

From: Paul Jarc
Subject: Re: When does a background process complete?
Date: Fri, 21 Sep 2001 11:15:26 -0400
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7

"V. Mark Lehky" <address@hidden> wrote:
> I have written a recursive function (one that calls itself).  In an attempt
> to speed it up, I have made the call to itself in the background, using the
> "&" symbol.

What makes you think this will speed it up?

> How can I detect, from my script, when all the processes from this
> function have completed?

You can't, unless you can determine it by looking at some external
state, like some modification to the filesystem.  It would be easier
to let the function run in the foreground.

> I can post the actual code, if it will help.

It might.  But it would be more on-topic on comp.unix.shell.
Followup-To set.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]