Fix windows spawn