K
Kuhl
Hi, all:
I wrote a Perl script. It invokes an application at some steps. If the
application is running or is waiting in the license queue, then
Control_C would terminate the application. But it does not terminate
the Perl script. The script continues to run following steps. However,
such behavior causes errors finally. So I want to terminate not only
the application when I do Control_C, but want to terminate the entire
Perl script. I wish that the script continues only if the application
finishes in the normal way. How to achieve this goal?
Thank you in advance.
I wrote a Perl script. It invokes an application at some steps. If the
application is running or is waiting in the license queue, then
Control_C would terminate the application. But it does not terminate
the Perl script. The script continues to run following steps. However,
such behavior causes errors finally. So I want to terminate not only
the application when I do Control_C, but want to terminate the entire
Perl script. I wish that the script continues only if the application
finishes in the normal way. How to achieve this goal?
Thank you in advance.