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

沒有留言:

Blocking software access to the Internet

  第一個步驟先打開控制台   在右上角搜尋防火牆 點擊 Windows 防火牆 再點擊左邊下面有個進階設定 會出現以下 點擊左邊輸入規則 再點擊新增規則 點擊程式直接下一步   選擇要禁止的程式 在點下一步 ...