launch_app
Compile Pascal GUI source and launch the application in background for immediate interaction. Returns right after starting, so you can preview or screenshot the running app.
Instructions
Compile Pascal source and launch the GUI application in background.
Use this for GUI applications (VCL/FMX) that need to stay running so you can see and interact with them. Unlike run_pascal, this does not wait for the program to finish — it launches and returns immediately.
After launching, use the preview system (preview_start with "pascal-preview") to see the running application, or use screenshot_app to capture a screenshot.
Args: source_code: The complete Pascal source code to compile and launch. Should be a GUI program (VCL/FMX) with forms. compiler: Which compiler to use. Can be a type name ('fpc', 'dcc32', 'dcc64') or a full path to a specific compiler executable. If not specified, auto-selects the best available compiler.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compiler | No | ||
| source_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |