[NTLUG:Discuss] script hang
    Kyle Davenport 
    Kyle_Davenport at compusa.com
       
    Thu Mar 10 09:49:04 CST 2005
    
    
  
*** Authentication Certificate ***
Kevin Brannen wrote:
> Um, why do you have the eval in there?  Does the ddr1394 command really
> return something you need to pull back into your current (loop)
> process?  My guess would be no, so remove the eval and the single quotes.
That is the only way to background a process from within a loop.
I might have written something in expect, but usually I have more problems
with blocking pipes that way.
I played with it some more last night.  If the ddr1394 works the first
time, the script runs fine.  If it starts looping - killing the previous
ddr1394 and retrying, ddr1394 fails after the 3rd retry with a segmentation
fault!  I think I'm missing something about bash job control...
Kyle
    
    
More information about the Discuss
mailing list