No. I use two shell scripts:
- One exports the log and outputs to the JXA script
- One takes a KM Variable as input, and output to another KM Variable, both outside the script, part of the Execute Script action.
For example:

No. I use two shell scripts:
For example:
