OmniVista2500 Trap Responder Action: "Run an application on the server"

I would like to use the "Run an application on the server" trap responder action to make OV run some custom scripts/programs but cannot find any documentation on how to proceed.

Has anyone an example available to share? One usecase is to run a curl command to send information to other api's about traps.

I ended up writing this blog post for others that may have the same question: