$SHEval
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

$SHEval

  • Dark
    Light
  • PDF

Article Summary

This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.

$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;

Was this article helpful?