Run an ARexx program
amiga_rexxRun an ARexx program from supplied text, wait for completion, and return its SAY output plus result code; requires RexxMast for multi-command Amiga scripting.
Instructions
Run an ARexx program given as text and wait for it to end. Returns what it SAYs, then '[rc N]'. ARexx can call any program's port and run AmigaDOS commands, so it can change anything. Needs RexxMast running. To send one command to one program's port use amiga_arexx.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| program | Yes | the ARexx program, e.g. 'say 1+1' | |
| max_time | No | stop it after this many seconds; default: wait up to 600 s |