Hi Venkat,
ad 1) please note that Windows does not kill the children of a parent
process, e.g. you start a batch file which starts another long-running
application than killing the batch process will not kill the
long-running child process.
ad 2) I think "ver" is a built-in command of the windows command
interpreter - check out the regression tests suite.
Cheers,
Siegfried Goeschl
On 15.07.10 12:58, venkateswara kumar myla wrote:
Hi Team,
I am very excited with this project and good to have this.
It made my life easy.
I have some questions which are as follows:
1. Watch Dog:
When i attach a watch dog to a process with some time limit, the process
is executing even the time limit reached.
2. I am unable to execute the dos commands.
For example i want to execute the "ver" command in windows 2003.
I tried to execute the command as follows:
1. CommandLine cl = new CommandLine("ver");
DefaultExecutor dfe = new DefaultExecutor();
dfe.execute(cl);
2. CommandLine cl = new CommandLine("CMD /C ver");
DefaultExecutor dfe = new DefaultExecutor();
dfe.execute(cl);
The command did not get executed.
Could any one please let me know what i am doing wrong here?
Best Regards
Venkat Myla
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org