Lazarus and Miletus

As we mentioned in your previous thread, Miletus for Lazarus is not supported currently so examples for Lazarus do not exist.

Putting that aside:

  • MiletusShell.Execute executes a command line Command from a given WorkingDir working directory.
  • TMiletusINIFile behaves similarly to TIniFile.

Many of the Miletus API (including the ones above) are promise-based. This is due to the async communication between the web application and the native layer.

If you'd like to try Miletus and see if it's something you are looking for, perhaps you can try our Visual Studio Code extension. Visual Studio Code is free and available on Linux and TMS Web Core VSC supports Miletus.