|
HOME
| ABOUT DMAC | PRODUCTS
| SUPPORT | NEWSLETTER |
|
|
|
Command
Line Drun Gets Easier To Use |
| The spawnable
executable program drun has new features. These features, while they can
be used on the command line, are usually wanted when the system verb in
the AID language is used to spawn another process.
The first feature set is the addition of the -ml option to the command line drun. The choices for the "l" parameter are 1) o for output subdirectory, 2) f - fileedit sub-directory and 3) s for sort subdirectory. With this option set (e.g. -ms) the drun program knows where to look for the ".r" programs ( in the example case in the sort directory). This saves having to put a path on the ".r" filename. Most people were having trouble remembering how to get a correct path wherever the ".r" program was run. The second feature was to allow the "-F" command line option to occur anywhere in the command line. Only the parts of the command line which would come after the "-F" would be in the file. This allows programmers to build an elaborate file list in the specified "-F" file on the fly. One remembers that "-Fturkey" means that somewhere in the path (usually current directory) the file turkey exists with the rest of the drun command line in it. Previously the "-F" had to occur only at the beginning of the command line after the word "drun". Both of these changes allow more flexibility for writing code once, and the code, or script file, automatically adapts to wherever the code is actually executed. |