function
First seen , last seen .
execresult
See also: execresult (function-call)
A built-in CFEngine function in the utils category that returns a string. execresult is called 34 times from 16 bundles and bodies in 9 policy files, on 100 hosts in your infrastructure.
- Signature
execresult(string, option, [option], ...)- Parameters
stringFully qualified command path (.+)optionShell encapsulation option (noshell,useshell,powershell)optionWhich output to return; stdout or stderr (both,stdout,stderr)
Variadic: at least 2 and at most 3 arguments.- Returns
string- Category
- utils