Xcode-how to launch another application in code

Discussion in 'Mac Programming' started by aafuss1, Aug 9, 2007.

  1. macrumors 68000

    aafuss1

    Joined:
    May 5, 2002
    Location:
    Gold Coast, Australia
    #1
    In Xcode, what could do I use for running another application fron my application using NSTask, via a button or label?
     
  2. Guest

    caveman_uk

    Joined:
    Feb 17, 2003
    Location:
    Hitchin, Herts, UK
    #2
    Use NSWorkspace's launchApplication method.

    Or you could use your own answer which is NSTask. In fact what exactly are you asking? You seem to know an answer already.
     

Share This Page