[Process] Fixed race condition in Windows Process
[Process] Fixed race condition in Windows Process

- Process output was not always fully available.

- Old code structure:
    method is_finished
     update_io                      # A
     check_for_process_termination  # B
    method finish
      while (not is_finished)
        while (update_io) noAction
        ...
      endWhile

- If there was more than one chunk of data to read or if more data became available between points A and B then it was lost.

- New code structure:
  method is_finished
    check_for_process_termination
    while (update_io) noAction
  method finish
    while (not is_finished) ...

Plasmaworks/Rogue,Plasmaworks/Rogue,AbePralle/Rogue,Plasmaworks/Rogue,AbePralle/Rogue,Plasmaworks/Rogue