shell - Ctrl C does not kill foreground process in Unix -


I have a script written in anmed test.csh to start a GUI based application in the foreground in Solaris Unix Are there. When I run the script and want to kill the GUI process using the keyboard Ctrl + C, the process is not finished. If I open the GUI application directly from the terminal, then I'm able to kill the process using Ctrl + C. Does anyone help me understand why I am not able to kill the process from a script?

  #! To set the / usr / bin / csh # env variable, some script # GUI process will be cast   

Then I execute the script using the following command. I can not finish the vcast process using the Ctrl + C command.

  source test.csh    

if it is If the launch is being launched in its own thread, the request for hanging can not be found on the application. You can add a signal handler so that the hangup request can be cascade or the process ID for the app to see the process table and then kill it. It can be scripted very easily.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -