Meaning – The term ‘Exec’ refers to a user-written commandfile that contains CMS commands, other user-written commands, and execution control statements, such as branches.
In the context of computing, the term EXEC refers to the functionality of an operating system that runs an executable file in the context of an already existing process, replacing the previous executable. This act is also referred to as an overlay.
The exec call is available in most programming languages by default. In OS command interpreters, the exec built-in command replaces the shell process with the specified program.
Example of usage – “In the C-Programming language, the exec call is called by various names like execl, execle, execlp, execv, execve, and execvp. However, in high-level programming languages, the exec call is named as it is.”