gretl_run_script
Execute Gretl/Hansl scripts using gretlcli, with optional GUI display, to automate econometric analysis and model estimation.
Instructions
Run any Gretl/Hansl script through gretlcli. By default this also requires opening the same workflow in the visible Gretl GUI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | Gretl/Hansl script to run. | |
| safeMode | No | When true, blocks shell-like commands and absolute file writes. | |
| requireGui | No | Require the visible Gretl GUI to open for this workflow. Defaults to true outside CI. | |
| gretlCliPath | No | Optional explicit path to gretlcli or gretlcli.exe. | |
| gretlGuiPath | No | Optional explicit path to gretl or gretl.exe. | |
| keepWorkspace | No | Keep the run workspace so generated artifacts remain available. | |
| workspaceRoot | No | Optional directory where run workspaces are created. | |
| displayInGretl | No | Open a visible Gretl GUI script window for this run. Defaults to true outside CI. | |
| guiNewInstance | No | Open a new Gretl GUI instance for the visible script. | |
| timeoutSeconds | No | Maximum runtime in seconds. Defaults to 30, max 300. |