Providing the full path for this Pandoc command fixed the issue. All good. I made a mental note to remember this next time I need to run a shell script. Today was one such day!
I want to run some shell scripts to change some OS Accessibility settings. An example:
2023-02-23 21:50:09 Execute a Shell Script failed with script error: 2023-02-23 21:50:09.226 defaults[47118:10617287] Could not write domain com.apple.universalaccess; exiting. Macro âIncreased Contrast Offâ cancelled (while executing Execute Shell Script).
So I must need something additional here. I have checked the Shell script page in the KB, but it's really not close to my comfort zone, and I can't work out what I have missed.
As usual, I appreciate all the help that people provide here.
Yep, thatâs expected behaviour. I can handle that issue separately. The issue is that while I can run these commands in Terminal, it wonât work on KM shell script, even when specifying the path.