run_pjsr_file
Run a PJSR JavaScript file from disk inside PixInsight and retrieve its console output for automation or debugging.
Instructions
Run a PJSR (JavaScript, V8 engine) source file from disk inside PixInsight and return its console output. Same execution model as run_pjsr, with the code read from a file instead of passed inline. No ES6 module syntax; the file content is eval-ed, so #include does not work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the PJSR source file. |