##### 8.5.4.7 Pragma Starter

As a default, the main executable is a full Ada starter procedure. That means that it launches all the other partitions from an Ada program. The pragma Starter allows the user to ask for one starter or another. When the partition host is not statically defined (see Partition Attribute Host), the starter subprogram will ask for it interactively when it is executed.

         CONVENTION_LITERAL ::= Ada   |
                                Shell |
                                None

         PRAGMA ::=
            pragma Starter ([Convention =>] CONVENTION_LITERAL);

- The default method consists in launching partitions from the main partition Ada subprogram using a remote shell (see below).
- The user may ask for a Shell script that starts the different partitions one at a time on the appropriate remote machines, using a remote shell. As the Ada starter, the Shell script starter ask for partition hosts interactively when a partition host is not already defined. Having a textual shell script allows the user to edit it and to modify it easily.
- The user may ask for a None starter. In this case, it is up to the user to launch the different partitions.

##### 8.5.4.8 Pragma Remote_Shell

When pragma Starter is Ada or Shell, the main partition launches the other partitions. The remote shell used as a default is determined during PolyORB configuration and installation. It is either rsh, remsh or the argument passed to –with-rshcmd=[ARG]. The pragma Remote_Shell allows the user to override the default.

         PRAGMA ::=
            pragma Remote_Shell
              ([Command =>] STRING_LITERAL,
               [Options =>] STRING_LITERAL);

The Command parameter indicates the name of the remote shell command name and the Options parameter corresponds to the additional flags to pass to the remote shell command.