fix windows bug: use subprocess.call  instead of Popen