This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
We are facing a similar problem as mentioned in the thread below. http://cygwin.com/ml/cygwin/2012-07/msg00014.html To reproduce the issue create 2 csh files in the same directory. First file dotest.csh: #!/bin/csh -f set num=20 set par=10 set i=0 while ( $i < $par ) ./checkspace.csh $num & @ i++ end wait Second file checkspace.csh: #!/bin/csh -f set num=$1 set j=0 while ( $j < $num ) set fspace=`/usr/bin/df -P -k . | tail -1` set free_space=`echo $fspace | tail -1 | awk '{print $4}' | tail -1` set free_space=`echo $fspace | tail -1 | awk '{print $4}' | tail -1` set free_space=`echo $fspace | tail -1 | awk '{print $4}' | tail -1` set free_space=`echo $fspace | tail -1 | awk '{print $4}' | tail -1` set free_space=`echo $fspace | tail -1 | awk '{print $4}' | tail -1` set free_space=`echo $fspace | tail -1 | awk '{print $4}' | tail -1` set free_space=`echo $fspace | tail -1 | awk '{print $4}' | tail -1` set free_space=`echo $fspace | tail -1 | awk '{print $4}' | tail -1` set free_space=`echo $fspace | tail -1 | awk '{print $4}' | tail -1` set free_space=`echo $fspace | tail -1 | awk '{print $4}' | tail -1` set free_space=`echo $fspace | tail -1 | awk '{print $4}' | tail -1` set free_space=`echo $fspace | tail -1 | awk '{print $4}' | tail -1` echo "$j $free_space" @ j++ end When you run dotest.csh from a tcsh window, it will hang. It would be great if this issue can be fixed.
Attachment:
cygcheck.out
Description: cygcheck.out
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |