Marcos-A Posted September 15, 2019 Share Posted September 15, 2019 (edited) Hi everyone, I'm trying to run a simple Python script using the "Run Script" workflow module, but I'm unable to make it work. The script runs fine when it's done from the "Terminal Command" module. I've checked the Mojave OS permissions and they all seem to be fine. You can find the workflow available here. I'm running Mojave 10.14.6, Alfred 4.0.4 and Python 3.7.2. I'll be happy to provide further information if needed. Thanks in advance. Edited September 15, 2019 by vitor Removed empty code box Link to comment
vitor Posted September 15, 2019 Share Posted September 15, 2019 Run Script doesn’t read your shell, thus it doesn’t have your PATH and whatever else you may have configured. You need to either give the full path to python3 or add a PATH line before it. Link to comment
Marcos-A Posted September 16, 2019 Author Share Posted September 16, 2019 Worked like a charm! Thanks so much for your help. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now