Terminate subprocess in Windows, access denied

前端 未结 3 851
萌比男神i
萌比男神i 2020-12-18 00:36

-

import time
import subprocess
from os.path import expanduser

chrome_path = expanduser(\'~\\Local Settings\\Application Data\\Google\\Chrome\\Application\\         


        
3条回答
  •  爱一瞬间的悲伤
    2020-12-18 01:07

    I think the best bet is to find and close the window at the os level: http://python.net/crew/skippy/win32/Downloads.html.

提交回复
热议问题