avoid opening a cmd window when calling subprocess.Popen
update TODO