change Process to funcs on windows