Control signal
|
CTRL + C
CTRL + BREAK
CTRL_CLOSE_EVENT
|
The control signal is sent to all process groups that are running as the root job, child jobs, and commands.
Processing of the root job (adshexec.exe) that received the control signal
Child process adshexecsub.exe performs postprocessing, and then terminates without executing subsequent scripts. adshexec.exe that received the control signal waits for termination of the child process, and then terminates itself.
Processing of the root job (adshexecsub.exe) that received the control signal and its child jobs
adshexecsub.exe that received the control signal outputs the KNAX7896-I message, performs postprocessing, and then terminates without executing subsequent scripts.
|
Operation cannot be defined with the trap command.
|
CTRL_LOGOFF_EVENT
|
Terminates immediately without performing postprocessing because OS logoff and shutdown processing take precedence.
|
Operation cannot be defined with the trap command.
|
CTRL_SHUTDOWN_EVENT
|
Immediate termination of process by a means such as TerminateProcess
|
If the root job (adshexec.exe) is subject to immediate termination
The target adshexec.exe is terminated immediately, but adshexecsub.exe of its child processes and the child jobs perform postprocessing, and then terminate without executing subsequent scripts.
If the root job (adshexecsub.exe) is subject to immediate termination
The target adshexecsub.exe is terminated immediately without performing postprocessing (do not perform immediate termination on this process).
If a child job is subject to immediate termination
The target child job is terminated immediately without performing postprocessing (do not perform immediate termination on this process). The parent job of the terminated child job performs postprocessing according to the processing that occurs when a child process is terminated with an error and return code 1.
|
If the root job (adshexec.exe) is subject to immediate termination
The target adshexec.exe is terminated immediately, but adshexecsub.exe of its child processes and the child jobs perform the operation defined with the trap command, perform postprocessing, and then terminate.
If the root job (adshexecsub.exe) is subject to immediate termination
The target adshexecsub.exe is terminated immediately without performing postprocessing (do not perform immediate termination on this process).
If a child job is subject to immediate termination
The target child job is terminated immediately without performing postprocessing (do not perform immediate termination on this process). The parent job of the terminated child job performs postprocessing according to the processing that occurs when a child process is terminated with an error and return code 1.
|