[rescue] Force detachment of background process?
    Jonathan C. Patschke 
    jp at celestrion.net
       
    Sun Dec 22 17:41:37 CST 2002
    
    
  
On Sun, 22 Dec 2002, Eric Webb wrote:
> While perl script C is being backgrounded, it isn't being detached from the
> parent.  How can I force this?  The only idea I have is for korn script B to
> nohup background perl script C, then look up it's own process # and kill
> itself.  Would that sever the connection of child C back to parent A?
Can't you have the perl script do the typical Unix thing of forking,
detaching, and forking again?  That's what your average daemon does.
-- 
Jonathan Patschke
  "Albert Einstein nailed space-time, but the wild thing had him stumped.
   Al, baby, two and two make five-and-a-quarter; that's why people fall
   in love." -- Thomas Dolby, "That's Why People Fall in Love"
    
    
More information about the rescue
mailing list