Re: How to get at argc/argv?
Re: How to get at argc/argv?
- Subject: Re: How to get at argc/argv?
- From: "Jonathan 'Wolf' Rentzsch" <email@hidden>
- Date: Wed, 10 Mar 2004 19:44:49 -0600
Simon Fraser, email@hidden, wrote:
>
This has stumped me, and Google doesn't seem to have the answer.
>
>
In a Cocoa app, how (other than changing the default main())
>
do you get at the argc/argv that were used to launch the app?
>
I would have expected NSApplication to squirrel them away
>
somewhere, or call the app delegate with them. But I can't see
>
that happening anywhere.
How about [[NSProcessInfo processInfo] arguments]?
| Jonathan 'Wolf' Rentzsch
http://rentzsch.com
| Red Shed Software
http://redshed.net
| "better" necessarily means "different"
_______________________________________________
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.