Several IBM® Rational® Rhapsody® properties include calls to the
Executer to execute batch files. The location of both the Executer
and the target-specific batch makefile ($makefile)
are given relative to the $OMROOT environment variable.
The commands that reference the Executer do so for
two reasons:
- To allow definition of a single property to represent
a series of commands. The Executer executes each one by calling system().
- To permit execution of commands by means closely
resembling those of the shell's command line (important for wildcards
and escape characters).
The Executer accepts two string arguments:
- An executable command, or list of commands separated
by semicolons.
- The directory from which to run the commands. If
not specified, the commands are run from the current directory. (For
CM tools, the "current directory" is the _rpy directory).