commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siegfried Göschl <siegfried.goes...@it20one.com>
Subject Re: [exec]
Date Fri, 23 Sep 2011 17:16:37 GMT
Hi Luca,

not really since Windows does not kill the children of a process - it is recommended to start
the executable directly

Cheers,

Siegfried Goeschl


----- Urspr√ľngliche Mail -----
Von: "Luca" <l.vergantini@eustema.it>
An: user@commons.apache.org
Gesendet: Freitag, 23. September 2011 17:42:59
Betreff: [exec]

Hi,

 

I'm trying to use commons exec to run a batch file (I'm on windows), the
batch file only run an exe.

If I use the watchdog to kill the process after X milliseconds the watchdog
only kills the batch file (the cmd.exe process in windows) and not the
called exe.

 

Is there a solution to kill them all?

 

Regards

Luca



Prima di stampare pensa all'ambiente

"Ai sensi e per effetti del T.U. sulla privacy (D.Lgs 196/03) questa mail e' destinata unicamente
alle persone sopra 
indicate e le informazioni in essa contenute sono da considerarsi  strettamente riservate.
E' proibito leggere, copiare, usare o diffondere il contenuto della presente mail senza consenso.
Se avete ricevuto questo messaggio per errore, siete pregati di rispedire la stessa al mittente
e di cancellare l'originale.
Grazie"


"This message is for the designated recipient only and may contain priviliged or confidential
information. 
If you have received it in error please notify the sender immediately and delete the original.

Any other use of the e-mail by you is prohibited"

 





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message