Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

$SHEval

Returns the output of a shell script.

Script usage:

$SHEval(ScriptText)

Parameters:

NameDescription
ScriptTextThe shell script to execute. This should be an expression.

Example:


# set the $NextYear variable to the value of... next year
set $ShellScript = >>
date -d next-year +%Y
>>;
set $NextYear = $SHEval($ShellScript);
Log-Information $NextYear;