---
title: "$SHEval"
---
Returns the output of a shell script.
$SHEval(ScriptText)
Name | Description |
---|---|
☆ ScriptText | The shell script to execute. This should be an expression. |
# set the $NextYear variable to the value of... next year
set $ShellScript = >>
date -d next-year +%Y
>>;
set $NextYear = $SHEval($ShellScript);
Log-Information $NextYear;