script hangs with 20050716/20050826 snapshot but not with 1.5.18 dll

Volker Quetschke quetschke@scytek.de
Sun Aug 28 04:43:00 GMT 2005


The following script hangs after running a short while when using
the 20050716/20050826 snapshots, but works with the 1.5.18 dll.

--- start tcsh_hang.csh ---
#!/bin/tcsh
while (1)
#   perl -e 'print("12\n");' |& /usr/bin/grep -v "yy"
    perl -e 'exec( "/cygdrive/c/WINNT/system32/cmd", "/c", "echo 12");' |& /usr/bin/grep -v "yy"
    date
end
--- end tcsh_hang.csh ---

Interestingly the hanging script can be cured by hitting CTRL-z and
"restarting" it with "fg" afterwards.

In case someone wonders why I should use something like this, I don't!
This is a reduced testcase from an OpenOffice build where different
other native W32 programs are exec'ed in perl and then piped through
grep.

Help is, as always, very much appreciated.

Volker

P.S.: cygcheck.log attached

-- 
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.log
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050828/4d40dfc8/attachment.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050828/4d40dfc8/attachment.sig>


More information about the Cygwin mailing list