Running a Python script via an SSH connection inside Pythonista = failure
oliverhaslam last edited by
First post and new to both Python and Pythonista, so be gentle!
I have a Pelican website, which is a Python-generated static site. To generate the HTML, you run a Python script and pass it some arguments along the way. What I want to do is eventually turn that into a one-button process using Launch Center Pro, using Pythonista.
I have a script that makes the connection and runs the command fine, but that's it. The Python script never completes on the server, even if I hide the whole thing inside a BASH script and run that from Pythonista.
Am I right I'm thinking that my main problem is that I'm effectively trying to run a script within a shell that's Python itself?
Am I over-complicating things?
I can offer the script etc if that will help.
JonB last edited by
Can you offer a little more details, like how you are trying to run it from python, vs how you run normally?