Instead of fork we're trying to use Win32::Job. I want some help on the watch(). I want to kill the spawned process after a maximum timeout / if log file not updated. I tried watch(\&handler, maxTimeout) where handler() monitors the log file, but it dosen't work as I expected.