im writing a little program that monitors a process that is running called nwserver (exe file name is "nwserver.exe")
i need to do several things with this process.
1) start the process using either process.start, or a shell (i will need to pass parameters to it at startup)
2) i need to monitor it and check to see if it hangs (stops responding) via a timer control on a 10 second delay (recurring)
3) if it does, i need to kill the process (close the program without any other user intervention.
4) restart the process after killing it with the previous parameters
any help with this would be appreciated
p.s. on a side note i already wrote this program before in vb6, but so much is different in vb.net that i could not convert it over.
thanks in advance,