chickadee » shell » execute

execute COMMANDLIST #!key status verboseprocedure

Converts COMMANDLIST to a string by flattening the list-structure of each command and interspersing it with whitespace (" ") and invokes it as a shell command. If status is given and true, then execute returns the exit status, with one result value for each element in COMMANDLIST. If verbose is given and true, it overrides the current setting of shell-verbose.

This is the underlying primitive used by run[*] and shell.