I'm new to KM and could use some help with my first macro.
My macro is set up to execute a shell script with input from nothing. Here's the text script that KM is executing:
The script is pretty straightforward:
1 #! /bin/bash
3 echo "Hello!" > test_output.txt
I can run this script successfully from my terminal.
However, I get an error like this when I execute the KM macro:
2020-08-04 08:56:09 Execute a Shell Script failed with script error: /Users/MyUserName/Dropbox/Folder/test.sh: line 3: test_output.txt: Read-only file system. Macro “MyMacro” cancelled (while executing Execute Shell Script).
When you say you can run it in Terminal do you mean the command line itself or the script file? If the latter did you make sure it's executable? To make it the one permissions must be -rwxr--r-- (executable by you, the current user).