/usr/share/axiom-20170501/src/algebra/MSYSCMD.spad is in axiom-source 20170501-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | )abbrev package MSYSCMD MoreSystemCommands
++ Description:
++ \spadtype{MoreSystemCommands} implements an interface with the
++ system command facility. These are the commands that are issued
++ from source files or the system interpreter and they start with
++ a close parenthesis, for example, the "what" commands.
MoreSystemCommands() : SIG == CODE where
SIG ==> with
systemCommand : String -> Void
++ systemCommand(cmd) takes the string \spadvar{cmd} and passes
++ it to the runtime environment for execution as a system
++ command. Although various things may be printed, no usable
++ value is returned.
CODE ==> add
systemCommand cmd == doSystemCommand(cmd)$Lisp
|