I’m a newbie at using the shell. I installed a tool called
csvkit to help with some of my tasks. I’m using a command named
csvstat. It works fine from the Terminal, but KM doesn’t seem to understand the command. It returns this error:
/var/folders/w_/1s9d7ph56lx9dvbz_1q2bj9r0000gn/T/Keyboard-Maestro-Script-23194AB1-19B5-4F4F-890C-60843371A853: line 1: csvstat: command not found
I know the wiki gives the following disclaimer—maybe this is relevant?
Shells are executed in non-interactive mode … . As such none of your profile scripts (like ~/.profile) will be executed. This means that custom environment variable settings will not be applied, in particular any settings for your PATH environment variable, and any settings for tool-specific environment variables like PERL5LIB). You can set these by creating a variable with “ENV_” at the start (eg ENV_PATH or ENV_PERL5LIB) and settings its value appropriately.