Added job control on Windows so that grandchild processes are killed along
with the child process. Also tidied up some of the code.
Authored by: andy_rushton 2007-11-30
Parent: [r107]
Child: [r109]