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")

沒有留言:

 Ubuntu has a mechanism, that is, the installed network card (NIC) will be renamed to another name when the system is booted. Although there...