2016年3月24日 星期四

Python Language, Using "subprocess" module control process


import subprocess,os
child = subprocess.Popen(["ping","-c","10","www.google.com"])
child.wait() # key man

print("parent process")
os.system("rm iperf2-client.bat")

沒有留言:

Automatically classify folders by file name (windows Bash)

  REM List file names, sorted by file name--------- dir /b /on > list.txt REM Find JPG files findstr ".JPG" list.txt > targe...