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

Re: More CVS ?'s



On Mon, Feb 22, 1999 at 02:41:18PM -0800, Aaron D. Turner wrote:
> > --- start htsearch ---
> > #!/bin/bash
> > /usr/local/bin/htsearch -c ../htdig/conf/htdig.conf
> > ---  end htsearch  ---
> Wouldn't that cause an extra fork()?  I guess it would work, not really

Yes, but we could get rid of that too by doing it this way:

--- start htsearch ---
exec /usr/local/bin/htsearch -c ../htdig/conf/htdig.conf
---  end htsearch  ---

We don't really need the #!/bin/bash in this case, and exec will force it to
use the current process.

-- 
-------------------
Daniel E. Markle
syntax@ashtech.net

Windows NT - Growing at 1/20th the rate of GNU/Linux, and 1/2 the rate of MacOS.
Perhaps there's a reason?
-------------------