How to tell Cygwin not to kill a native process when I press Ctrl-C ? I tried to run it in background, but it doesn't help, when its output is piped.
Compare these: ( while true; do echo aaa; sleep 1; done & ) | ( trap '' INT; cat ) ( while true; do echo aaa; sleep 1; done ) | ( trap '' INT; cat ) ( /cygdrive/c/Windows/system32/ping -t localhost ) | ( trap '' INT; cat ) ( /cygdrive/c/Windows/system32/ping -t localhost & ) | ( trap '' INT; cat ) The last command should not die, when I press Ctrl-C, but it dies anyway. -- 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