Execute a command without creating a new process

Execute a command without creating a new process

The exec statement causes the command specified as its argument to be executed in place of the current shell without creating a new process. For example:

   $ exec zmail -visual

This runs just the zmail program without a shell. When you quit the application the current shell also exits.


Top document