Implement Windows support for the Process class.

Fixes #3684