SAFR Actions can run a script and pass argumetns to it.  When passing arguments, a specific synatax is required in order to ensure the receiving command interprets them as arguments correctly.


Arguments must be enclosed in quotes as follows:

"actions": [
   "python3 ./scripts/write_result.py \"#N\""
],

This syntax is true for both Windows and Linux platforms (for windows path separators should be backslash (\).  On Linux, arguments that may contain special characters may need to be enclosed in single quotes as follows:

"actions": [
   "python3 ./scripts/write_result.py '#N'"
],