Very quick question..

Discussion in 'iOS Development' started by Monkey Jam, Apr 30, 2008.

  1. Monkey Jam

    Monkey Jam New Member

    Joined:
    Jan 25, 2008
    Messages:
    407
    Likes Received:
    7
    Device:
    iPhone 4 (Black)
    If i just wanted to make an app that would execute two simple terminal commands and display the output how would I go about doing that?

    Thanks

    Daniel
  2. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55


    Not sure about displaying the output, but to execute 2 commands tell the system to do it:


    ....
    {
    system("launchctl stop com.apple.SpringBoard");
    }
  3. Monkey Jam

    Monkey Jam New Member

    Joined:
    Jan 25, 2008
    Messages:
    407
    Likes Received:
    7
    Device:
    iPhone 4 (Black)
    thanks so much!
  4. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55

    yup np.

Share This Page