Supported Script Interpreters
Script interpreter configuration is only required in Royal TS (for Windows) or in Royal Server. Royal TSX (for macOS) uses standard macOS techniques to locate the executables automatically.
Language | Royal TS (Windows) | Royal TSX (macOS) | Royal Server | Notes |
AppleScript | ✔ | |||
Bash | ✔ | ✔ | To use the linux-famous bash shell on Windows, you need to specify a valid path to your bash.exe executable. If Windows-Subsystem is enabled and Ubuntu LTS is installed, you can use following path if available: %windir%\system32\bash.exe | |
JSON | ✔ | ✔ | ✔ | This contains plain JSON string to populate objects. Most likely for testing purposes or to return static content. |
JavaScript | ✔ | Scripts are executed in-memory and no temporary file is written to disk. | ||
JavaScript for Automation | ✔ | |||
Perl | ✔ | ✔ | ✔ | On Windows, the path to the perl executable needs to be specified. Download available here. |
PHP | ✔ | ✔ | ✔ | On Windows, the path to the PHP executable needs to be specified. Download available here. |
PowerShell | ✔ | ✔ | ✔ | Using PowerShell interpreter requires a path to the PowerShell or PowerShell Core executable. The default value is %windir%\System32\WindowsPowerShell\v1.0\powershell.exe. On macOS, only PowerShell Core is supported. |
Python | ✔ | ✔ | ✔ | On Windows, the path to the python executable needs to be specified. Download available here. |
Ruby | ✔ | ✔ | ✔ | On Windows, the path to the ruby executable needs to be specified. Download available here. |
Swift | ✔ |
Find more information about RoyalJSON scheme here.