作者amigcamel (阿吉amig)
看板Python
標題[問題] subprocess 把某視窗拉到最前
時間Tue Nov 3 15:59:00 2015
請問一下
我用subprocess開啟外部程式test.exe後
要如何能夠把他拉到最前面呢?
(某些情況下它並不會自動跳到最前面)
code大致如下:
import subprocess
subprocess.Popen(['test.exe'], shell=True)
謝謝~
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.220.233.167
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Python/M.1446537542.A.825.html