• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSWorkspace launchApplication withArguments?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWorkspace launchApplication withArguments?


  • Subject: NSWorkspace launchApplication withArguments?
  • From: Robert Tillyard <email@hidden>
  • Date: Mon, 24 Jan 2005 17:01:39 +0000

I've found in the documentation that to launch a GUI application from my app I need to use...

[[NSWorkspace sharedWorkspace] launchApplication:@"OtherApp"];

>From previous discussion on this list it appears that NSTask shouldn't be used to run a GUI application but how would I run and pass command line arguments to a GUI application?

Thanks, Regards, Rob.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSWorkspace launchApplication withArguments?
      • From: Clark Cox <email@hidden>
  • Prev by Date: Re: index column in bound NSTableView
  • Next by Date: Re: NSWorkspace launchApplication withArguments?
  • Previous by thread: Re: Should I override close to free my document's data?
  • Next by thread: Re: NSWorkspace launchApplication withArguments?
  • Index(es):
    • Date
    • Thread