Added workaround for Windows child_process.spawn.