Hitachi

JP1 Version 11 Job Management: Getting Started (Scripting Language)


4.3.2 Notes about operations including Ctrl+C (in Linux)

If a job is executed in the non-terminal input mode, operation such as Ctrl+C and Ctrl+\ might not be able to terminate simultaneously the root job, child jobs, and other external commands that were started.# If you wish to forcibly terminate these jobs and commands all at once, use the kill command to send a termination request signal such as SIGTERM to the root job immediately under the login shell.

#

If a job is executed in the non-terminal input mode, the adshexec command's process and its child processes belong to separate process groups. Therefore, if an operation such as Ctrl+C or Ctrl+\ is performed from the login shell while the job is executing, SIGINT or SIGQUIT is sent only to the process group currently running in the foreground.

The jobs and external commands running as descendant processes of the job that received the signal are forcibly terminated, but those jobs and external commands running as higher processes, including the parent process, are not forcibly terminated.