I built a small shell script for Obsidian and it works perfectly fine when running it from the terminal. My initial plan has been to invoke it via a keyboard shortcut and I thought that Keyboard Maestro would be the perfect fit for this kind of problem. So I built a little macro that only works in Obsidian using the “Execute Sheet Script” action, set the parameters to “execute script file” and pointed to the script.
When I try to run it nothing happens. When I replace the script with a very simple one like an echo command it also works. So the script works and the macro works… however, when I put it together it does nothing.
Any ideas? I use Pandoc in my script, has KM issues with dependencies?