loca1h0st's Blog
loca1h0st's Blog

ctrl+c
文章归档

Python subprocess调用命令及实时获取输出
import shlex, subprocess def runCmd(tid, msg, cmd): try: p = subprocess.Popen(shlex.split(cmd), stdin=subp…
   756   2022-08-23   查看更多