Tech Tip: How to determine if a 4D Database is running in Headless Mode
PRODUCT: 4D | VERSION: 19 | PLATFORM: Mac & Win
Published On: December 6, 2021
The 4D command, Get application info returns an object containing information about the current application. One of the properties of the returned object is "headless" which contains a boolean True if the application is running in headless mode and a False if the application is not.
The following example dirrectly accesses the property:
$isHeadless_b := Get application info.headless |