function
First seen , last seen .
execresult_as_data
See also: execresult_as_data (function-call)
A built-in CFEngine function in the utils category that returns a data container. execresult_as_data is called 1 time from 1 bundle or body in 1 policy file, on 100 hosts in your infrastructure.
- Signature
execresult_as_data(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
data- Category
- utils