The simplest way for scripts to interact with the larger system is to use the
"run" function: it takes a command to run, and returns
the output of that command as a string. For example:
The built-in dump function dumps the argument out, without
expanding any embedded newlines. ECMAScript's string handling facilities can be
used to take apart output. For example, splitting the above based on whitespace: