RUN - execute a command.

Usage:

type str = packed array[0..strsize] of char;
var s:str;
...
s := 'command arg ...';
run(s);

Description:

RUN is given a string containing the command line of some TSS command. It causes the command to be executed, and then returns to the caller. The argument must be a packed array of char. The bounds are not important to RUN. This function is pre-declared by the compiler. It will accept constant strings as well. For example,

run('echo hi there');

will cause "hi there" to be printed at the terminal.

Copyright © 1996, Thinkage Ltd.