ash signal problems with latest CVS

David Rothenberger daveroth@acm.org
Tue Jan 27 00:29:00 GMT 2004


I'm having a problem with signals with the latest CVS DLL and ash.
I have a script tst.sh:
--------------------
#!/bin/sh
while true; do
 date
 sleep 20
done
--------------------
>From a cmd.exe prompt, if I do "bash tst.sh" and then press Ctrl-C,
the script terminates.
If I do the same with "sh tst.sh", the sleep is killed and I get
another output from date. No way to kill the script itself with
Ctrl-C.
Dave
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tst.sh
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040127/b07f0d8c/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040127/b07f0d8c/attachment-0001.ksh>
-------------- 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

AltStyle によって変換されたページ (->オリジナル) /