Use child_process.exec() when running on Windows.