fix executing python api interface command in windows