I want to send SIGINT to all processes by name so I am using killall -SIGINT which was working fine. Now I introduced system() call in my c code to run a shell script or shell command which take around 10  seconds to complete. I see that in this case signal handler is not called when I send signal. When I remove or run it in background that system call it again start working.Please anyone can suggest me to manage it.
Sending signal SIGINT to process while executing system call or script by killall -SIGINT
linux;debian;c;signals;c++