Hi & good day,
I tried to set KM to do the following (Execute Shell Script):
python /Users/okn/Documents/_scr/dayone.py
This is not executed, - because it is not a Shell Script, probably.
How to write it?
/
OmarKN
Hi & good day,
I tried to set KM to do the following (Execute Shell Script):
python /Users/okn/Documents/_scr/dayone.py
This is not executed, - because it is not a Shell Script, probably.
How to write it?
/
OmarKN
Hey Omar,
Is dayone.py an actual Python script?
Does it have a proper shebang line?
If so, you should be able to directly execute it with an ‘Execute Script File’ action.
However. It’s possible that the script has shell-dependencies that KM doesn’t provide.
If you send me the script I’ll look.
-Chris
ok, wait I’ll send it now…
/
Check that the Execute Shell Script action is configured to display the result, and then if there is an error, it should be displayed. Otherwise, perhaps the script is in fact being executed but not doing what you expect.