thanks for the update
changed the code (not as indicated - in that case DBREC does not get filled
but ..
while read DBREC
done < foo.tmp
using this type of coding I never get the hang..
Best Regards, Guy Przytula
--
View this message in context:
http://www.nabble.com/loop-hanging-tf18614
On 28 June 2006 14:23, prz wrote:
> I have a small program that executes a command and parses the output
> I can see that on many executions the program hangs.
> added some debug statements and could see it is at loop iteration that we
> hang
> sample code
> #!/cygdrive/c/Cygwin/bin/bash
> db2 lis
2 matches
Mail list logo