Debugging spawning problem under windows