user-guide:additional_interfaces:headless
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| user-guide:additional_interfaces:headless [2025/01/17 15:21] – Tim | user-guide:additional_interfaces:headless [2025/01/22 15:48] (current) – [Further Info] Tim | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| GroIMP can be started without its graphical interface, in a non interactive headless mode. | GroIMP can be started without its graphical interface, in a non interactive headless mode. | ||
| This mode can either execute a specified model and or a specified GroIMP command and can therefore be used for simple automation or as a base for e.g. the [[user-guide: | This mode can either execute a specified model and or a specified GroIMP command and can therefore be used for simple automation or as a base for e.g. the [[user-guide: | ||
| - | | + | |
| + | < | ||
| + | @startuml | ||
| + | hide footbox | ||
| + | title Headless | ||
| + | |||
| + | User -> GroIMP: Start GroIMP with model | ||
| + | GroIMP -> User: Print log & close GroIMP | ||
| + | @enduml | ||
| + | </ | ||
| + | |||
| + | |||
| + | If a model is started in headless, GroIMP executes it,logs the console output and afterwards shut down. Capturing any feedback from the simulation must be included in the model. | ||
| ==== Running a model headless ==== | ==== Running a model headless ==== | ||
| Line 20: | Line 32: | ||
| ==== Executing a command headless ==== | ==== Executing a command headless ==== | ||
| + | GroIMP is capable of executing any registry command on startup, if this command is provided as full path using the additional command line argument: %%'-- -cmd "/ | ||
| + | This is mostly used to start the [[user-guide: | ||
| + | ==== More documentation ==== | ||
| + | * [[: | ||
| + | * [[: | ||
| - | + | ==== Tutorials | |
| - | ==== Tutorial | + | |
| - | + | | |
| - | You can have a look at [[:Tutorials:Startup-headless-model|this tutorial]] for more information. | + | |
| - | Further a tutorial for using command line parameters in the model can be found [[: | + | |
| - | + | ||
| - | You can find an example | + | |
| - | [[https:// | + | |
user-guide/additional_interfaces/headless.1737123676.txt.gz · Last modified: 2025/01/17 15:21 by Tim
