On 30 Jun 2003 09:32:01 -0700 James Sparenberg <[EMAIL PROTECTED]>
wrote:

> On Mon, 2003-06-30 at 07:01, Pierre Fortin wrote:
> > On Mon, 30 Jun 2003 05:51:48 -0700 (PDT) "David Guntner"
> > <[EMAIL PROTECTED]> wrote:
> > 
> > > James Sparenberg grabbed a keyboard and wrote:
> > > >
> > > > No this is not spam for a talk show.  :)  I'm trying to find out
> > > > how to spawn a process from a shell script that becomes an
> > > > independent Parent process not a child process.  Such so that if
> > > > the Parent that spawns it dies it doesn't die.  What I need is to
> > > > have the parent process spawn the new process, then complete
> > > > itself and die.  While the child becomes independent and continues
> > > > it's life until it completes it's actions.
> > > 
> > > man nohup.
> > > 
> > >         --Dave
> > 
> > also: man bash, see disown 
> 
> 
> Still not getting the results I need .... The parent remains open in a
> wait state for the child to complete.  I can kill the parent without
> affecting the child.. but the parent will not exit until the child
> does.. I'm getting closer.  Basically this is going into an rpm which is
> part of a group of rpms.  This one product that has to get installed
> ahead of a number of others (dependencies) has a long self install
> program that runs.  There is no reason it can't run in the background
> while the other rpms get installed.  Doing this would cut totally
> install of the "group" by about 50% is why I'm trying to to this. 
> Thanks again for the answers....
> 
> James
> 
> 
> I'm experimenting ... If I find it all let ya'll know

James,

Haven't checked for the parent sticking around; but I used to start a task
in background and then disown the job and disconnect from the remote
host...  let us know if that parent still hangs around in that scenario...



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to