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" <[email protected]> An: [email protected] 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: [email protected] For additional commands, e-mail: [email protected]
