|
-
August 6th, 1999, 10:41 AM
#1
killing a process started by batch file
how do you go about killing a process started by a batch file? I've tried .destroy(), but it does not work whatsoever. Below is sample code:
Process myProc = Runtime.getRuntime().exec("mybatch.bat");
myProc.destroy(); // doesn't work.
// contents of mybatch.bat
start c:\winnt\cdplayer.exe
Does anyone know of a solution or a workaround?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|