commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Narayan Singhal <nsing...@thortech-solutions.com>
Subject DefaultExecutor.getWatchdog
Date Wed, 11 Mar 2009 14:45:37 GMT
  am running a Java process using DefaultExecutor. At later time when  
user press the stop button - i want to destroy the process.

I am using:

defaultExecutor.getWatchdog().destroy();

But defaultExecutor.getWatchdog() is returning null.

If i set the ExecutorWatchdog using Integer/MAX_VALUE than it will  
terminate it after that time which should not happen either.

How can I kill a process started using DefaultExecutor.execute??

Thanks,
Narayan


Mime
View raw message