Extra information:
When in work in debug-mode, everthing works fine. In debug-mode, I can see that the routine is crashing in de Console. In runtime (developer) WO just stops, there is nothing in de Console file, but my routine has crached.
Hi,
I have to do crop images with Cocoa, so I wrote a JNI-framework to solve that, but it seems that Core Image doesn't clean up very well. So I use a terminal command now. The problem is, when my command line-routine is crashing (I know that it shouldn't, but if it does..) WO is hanging. I use the following routine:
try{ Process runningApp = Runtime.getRuntime().exec("... to my routine...."); ... runningApp.waitFor(); // If the command line routine is crashing, WO is freezing here ...
} catch(IOException e) { NSLog.err.appendln("Didn't start up!"); throw e; }
Any idea or a better way to solve my problem?
Thanks, Frank Stock NNS produtions Belgium |