## Name

EX — Execute program as overlay

## Synopsis

`ex` `module name` [ `modifiers` ] [ `parameters` ]

## Description

This a shell built-in command that causes the process executing the shell to start execution of another program. It permits a transition from the shell to another program without creating another process, thus conserving system memory.

This command is often used when the shell is called from another program to execute a specific program, after which the shell is not needed. For instance, applications which only use basic09 need not waste memory space on shell.

The ex command should always be the last command on a shell input line because any command line following will never be processed.

NOTE: Since this is a built-in shell command, it does not appear in the CMDS directory.

For more information see: the section called “Built-in Shell Commands and Options”, the section called “Shell Procedure Files”, the section called “Setting Up Timesharing System Procedure Files”

## Examples

    ex BASIC09

    tsmon /t1&; tsmon /t2&; ex tsmon /term