Launch Arguments in PB
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.