Hi
I have a C++ program that uses the system() function to execute a script.
The function is called like.
system(m_internal_cmd.c_str());
The problem is that the SIGINT signals are being ignored so when a user types CTRL-C on the command line the script does not quit.
Is there any way of using the system call but not suppressing the SIGINT.
I have a C++ program that uses the system() function to execute a script.
The function is called like.
system(m_internal_cmd.c_str());
The problem is that the SIGINT signals are being ignored so when a user types CTRL-C on the command line the script does not quit.
Is there any way of using the system call but not suppressing the SIGINT.