Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » how to terminate new process created via Runtime.exec()
how to terminate new process created via Runtime.exec() [message #333112] Tue, 25 November 2008 21:34 Go to next message
Eclipse UserFriend
Hi, all

I'm recently having a problem with terminating the new created process.
<code>
Proecess process = Runtime.getRuntime().exec(...);
process.destroy();
</code>

but after that, the process still alive!

Did I missing something?

--
Thanks & Best Regards
Nick
Re: how to terminate new process created via Runtime.exec() [message #333131 is a reply to message #333112] Wed, 26 November 2008 07:27 Go to previous message
Eclipse UserFriend
nick tan wrote:
> I'm recently having a problem with terminating the new created process.
> <code>
> Proecess process = Runtime.getRuntime().exec(...);
> process.destroy();
> </code>
>
> but after that, the process still alive!
>
> Did I missing something?

Yes, please read:

http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps. html?page=1

HTH & Greetings from Bremen,

Daniel Krügler
Previous Topic:Syntax Highlighting Rules for Custom Editor
Next Topic:Wwitch between Groups of Key Bindings Dynamically
Goto Forum:
  


Current Time: Tue May 06 23:09:20 EDT 2025

Powered by FUDForum. Page generated in 0.06493 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top