dcsimg
How to stop the running .exe file through a java application
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, January 23, 2002 06:30 AM

Hello Dear,

I need help in writing a java code for stoping a running .exe file on a NT mechine.

Help in any form is welcomed.

Thanks in advance,

regards,
venkata

Re: How to stop the running .exe file through a java application

Posted By:   Luigi_Viggiano  
Posted On:   Wednesday, January 23, 2002 11:53 AM

You can stop only Processes you've started within your application:


Process p = Runtime.getRuntime().exec("foo.exe");

p.destroy();
About | Sitemap | Contact