Aborting cat or tail -f on output file kills process writing to the file

Daniel Lamberger daniell@checkpoint.com
Wed Dec 8 15:08:00 GMT 2004


Hi,

In bash, I'm doing:

some_process >& output &

Then, repeatedly doing:

tail -f output

And aborting the operation eventually crashes some_process.

The problem seems to be general; it happens when using other processes, e.g.
the bash script:

while ((1)); do date; sleep 0.5; done

And cat-ing the output and aborting midway several times instead of tail -f.


Thanks,
  Daniel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 32370 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20041208/cac0f518/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list