• 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
Launch Arguments in PB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Launch Arguments in PB


  • Subject: Launch Arguments in PB
  • From: Anders Totland <email@hidden>
  • Date: Tue, 2 Sep 2003 11:11:42 +0200

I'm aware that this is slightly off topic, but seeing as I'm developing a Cocoa application, I thought this might be the right place to ask:

My pbproj has two targets, iGrade and iGrade Demo. The biggest difference is the fact that the demo should be called with the argument -demo, so that the application adjusts accordingly. However, even when I set -demo as a launch argument in the iGrade Demo executable, and check "Use", it gets called only with argc = 2 and argv[0] = \\014, argv[1] = ]. (Thank you, NSLog()!) What am I doing wrong? Also, are the launch arguments at least relatively tamper proof?



"A guy once asked me for a cup of coffee. So I bit him."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: First Responder (was "Re: Enable the Copy Menu")
  • Next by Date: Re: First Responder (was "Re: Enable the Copy Menu")
  • Previous by thread: Re: First Responder (was "Re: Enable the Copy Menu")
  • Next by thread: plug-in problem
  • Index(es):
    • Date
    • Thread