Made spawn_process functions for Windows
Changed __func___ macros to __FUNCTION__