I'm having a weird problem when compiling a Nim program from VSCode's internal
terminal. Compilation starts normally then stops at a random moment with:
Error: unhandled exception: Unknown IO Error [IOError]
Apparently this is a Nim error message. It appears in the compiler output
sometimes at the weirdest moment, like this:
Hint: tError: unhandled exception: Unknown IO Error [IOError]
The compilation still goes to the end once in a while, but this is
unpredictable (and frustrating).
This only happens on my Windows 10 machine (on Linux it runs fine). It started
to happen right after I updated the OS to its latest version (1709). Compiling
the same Nim program from another terminal (git-bash) still works.
I've tried to reinstall VSCode and Nim (from the git repository) but the error
is still there.