Cocoa applications and exit codes
Cocoa applications and exit codes
- Subject: Cocoa applications and exit codes
- From: Gregor Nobis <email@hidden>
- Date: Sun, 21 Nov 2004 20:13:14 +0100
Hi all!
I am writing a Cocoa-based application that runs a command line tool in
a second thread. When that program terminates I want to save its exit
code and have the Cocoa application quit and return that code.
I have done a lot of searching and reading and could not find anything
on the topic. Is there a way to tell NSApplication to return a specific
exit code on termination? Any other thoughts?
Thanks a lot in advance,
Gregor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden