Set exit code without using exit() ?
Set exit code without using exit() ?
- Subject: Set exit code without using exit() ?
- From: Rolf <email@hidden>
- Date: Sun, 22 Jun 2003 20:41:55 +0200
Hi,
I need to set the exit code of a coca app before it exits. Using exit() works fine, but is this the recommended way of doing it ?
In the apps main() procedure there's a return NSApplicationMain(argc, argv). However, the actual return of exit code is not done from here when [NSApp terminate:self] is executed.
/Rolf
_______________________________________________
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.