• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
command line WO Freeze
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

command line WO Freeze


  • Subject: command line WO Freeze
  • From: Frank Stock <email@hidden>
  • Date: Mon, 23 Oct 2006 12:03:19 +0200

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
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: command line WO Freeze
      • From: Kieran Kelleher <email@hidden>
    • Re: command line WO Freeze
      • From: Timo Hoepfner <email@hidden>
    • Re: command line WO Freeze
      • From: Patrick Middleton <email@hidden>
  • Prev by Date: Deploying a Project Wonder project on linux
  • Next by Date: Re: command line WO Freeze
  • Previous by thread: Re: Deploying a Project Wonder project on linux
  • Next by thread: Re: command line WO Freeze
  • Index(es):
    • Date
    • Thread