Fixed logic for dealing with windows paths.
Set the process to be attached under windows, so the output is correctly displayed in the UI.
Removed changed whitespace