Re: What are argc and argv from Finder (was "Voodoo...")
Re: What are argc and argv from Finder (was "Voodoo...")
- Subject: Re: What are argc and argv from Finder (was "Voodoo...")
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 29 Feb 2004 14:47:55 -0800
On Feb 29, 2004, at 1:32 PM, Jerry Krinock wrote:
The Finder passes something like -psn_0_28835841 (Process Serial
Number).
Thanks, that tells me what _not_ to name _my_ arguments....
You can find the process arguments from
[[NSProcessInfo processInfo] arguments]
NSLog(); from main() writes to /var/log/system.log
(which is read by Console.app) for a noprmal application start.
I wish it did, but not on my Mac running Panther, it doesn't.
On Panther it's going to console.log.
mmalc
_______________________________________________
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.