Skip navigation.
 
mlCocoa applications and exit codes
FROM : Gregor Nobis
DATE : Sun Nov 21 20:13:14 2004

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

Related mailsAuthorDate
mlCocoa applications and exit codes Gregor Nobis Nov 21, 20:13
mlRe: Cocoa applications and exit codes Andrew Farmer Nov 22, 01:02
mlRe: Cocoa applications and exit codes Gregor Nobis Nov 22, 09:53
mlRe: Cocoa applications and exit codes Andrew Farmer Nov 22, 20:21