Safe mode: Difference between revisions

→‎{{header|REXX}}: added the REXX computer programming language for this task.
mNo edit summary
(→‎{{header|REXX}}: added the REXX computer programming language for this task.)
Line 32:
 
<lang javascript>var interp1 = new Interp({isSafe:true, safeWriteDirs:['/tmp'], , safeReadDirs:['/tmp']});</lang>
 
=={{header|REXX}}==
For running REXX on IBM mainframes, &nbsp; REXX supports the option &nbsp; '''Scan''' &nbsp; for the &nbsp; '''trace''' &nbsp; statement.
 
This allows the program to be processed (and be checked for syntax errors), &nbsp; but commands to the "host system" won't be executed.
 
However, not all REXXes support this option.