omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. oliverhaslam

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    oliverhaslam

    @oliverhaslam

    0
    Reputation
    381
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    oliverhaslam Unfollow Follow

    Latest posts made by oliverhaslam

    • Running a Python script via an SSH connection inside Pythonista = failure

      Hi all,

      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.

      Cheers.

      posted in Pythonista
      oliverhaslam
      oliverhaslam