138
|
1 <refentry id="ex">
|
|
2 <refnamediv>
|
|
3 <refname>EX</refname>
|
|
4 <refpurpose>Execute program as overlay</refpurpose>
|
|
5 </refnamediv>
|
|
6
|
|
7 <refsynopsisdiv>
|
|
8 <cmdsynopsis>
|
|
9 <command>EX</command>
|
|
10 <arg choice="plain">
|
|
11 &replstart;module name&replend;
|
|
12 </arg>
|
|
13 <arg choice="opt">
|
|
14 &replstart;modifiers&replend;
|
|
15 </arg>
|
|
16 <arg choice="opt">
|
|
17 &replstart;parameters&replend;
|
|
18 </arg>
|
|
19 </cmdsynopsis>
|
|
20 </refsynopsisdiv>
|
|
21
|
|
22 <refsect1><title>Description</title>
|
|
23 <para>
|
|
24 This a shell built-in command that causes the process executing the
|
|
25 shell to start execution of another program. It permits a transition
|
|
26 from the shell to another program without creating another process,
|
|
27 thus conserving system memory.
|
|
28 </para>
|
|
29 <para>
|
|
30 This command is often used when the shell is called from another
|
|
31 program to execute a specific program, after which the shell is not
|
|
32 needed. For instance, applications which only use BASIC09 need not
|
|
33 waste memory space on SHELL.
|
|
34 </para>
|
|
35 <para>
|
|
36 The "ex" command should always be the last command on a shell input
|
|
37 line because any command line following will never be processed.
|
|
38 </para>
|
|
39 <para>
|
|
40 NOTE: Since this is a built-in SHELL command, it does not appear in
|
|
41 the CMDS directory.
|
|
42 </para>
|
|
43 <para>
|
|
44 For more information see: 4.5, 4.6, 4.9
|
|
45
|
|
46 </para>
|
|
47 </refsect1>
|
|
48 <refsect1><title>Examples</title>
|
|
49 <screen>
|
|
50 ex BASIC09
|
|
51
|
|
52 tsmon /t1&; tsmon /t2&; ex tsmon /term
|
|
53 </screen>
|
|
54 </refsect1>
|
|
55 </refentry>
|
|
56
|