Re: blocking another application from starting
- From: linuxnooby@xxxxxxxxxxxx
- Date: 27 Apr 2006 23:01:19 -0700
this bit will do step 2
try
{
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("C:\\windows\\system32\\taskkill.exe
/F /IM winword.exe");
int exitVal = proc.waitFor();
System.out.println("Process exitValue: " + exitVal);
} catch (Throwable t)
{
t.printStackTrace();
}
.
- References:
- blocking another application from starting
- From: linuxnooby
- Re: blocking another application from starting
- From: IchBin
- Re: blocking another application from starting
- From: linuxnooby
- blocking another application from starting
- Prev by Date: Re: blocking another application from starting
- Next by Date: Re: CoderWiki.com - A free online reference manual
- Previous by thread: Re: blocking another application from starting
- Next by thread: Re: blocking another application from starting
- Index(es):