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.