On Friday 22 June 2007 05:35, Bin Chen wrote:
> A little update for this problem, I wrote a propram to test the CTRL-C
> signal, I found if I call:
> 
> signal(SIGINT, handler);
> 
> in main(), then the program can get the SIGINT when I press CTRL-C, but
> if I comment out this line, the SIGINT can't cause the program exit.
> 
> I think this is caused by the default SIGINT processing logic inherited
> from the busybox shell, right? In older busybox version we didn't
> encounter this before, so maybe the reason is the default processing
> logic for SIGINT in older busybox shell is exit.
> 
> Will a program started from shell inherit the signal processing
> properties from the shell?

I am unable to reproduce it on current svn.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to