Shell Script

Discussion in 'Mac Basics and Help' started by rfgreen, Nov 20, 2009.

  1. rfgreen macrumors member

    Joined:
    Dec 30, 2007
    #1
    I have been playing with Python on Snow Leopard. Python come bundled with an IDE called "Idle". To invoke it, you open Terminal and enter "idle3.0".
    What I wanted to do is use Automator to set up a shell script so I can just double click it to open the ide. But when I open Automator, select Utilities>Run shell script and enter "idle3.0" (without quotes) it fails. Anybody help??
     
  2. BlueRevolution macrumors 603

    BlueRevolution

    Joined:
    Jul 26, 2004
    Location:
    Montreal, QC
    #2
    When it fails, are you getting some sort of error? When you run idle3.0, does it immediately return you to the command prompt? If not, you should try

    screen -d -m idle3.0

    to run it in a screen.
     

Share This Page