mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
winpe support + windows webdav stuff
This commit is contained in:
parent
f0e98d6e0d
commit
046b494b53
4 changed files with 14 additions and 5 deletions
|
@ -66,7 +66,11 @@ def meichk():
|
|||
|
||||
pids = []
|
||||
ptn = re.compile(r"^([^\s]+)\s+([0-9]+)")
|
||||
procs = sp.check_output("tasklist").decode("utf-8", "replace")
|
||||
try:
|
||||
procs = sp.check_output("tasklist").decode("utf-8", "replace")
|
||||
except:
|
||||
procs = "" # winpe
|
||||
|
||||
for ln in procs.splitlines():
|
||||
m = ptn.match(ln)
|
||||
if m and filt in m.group(1).lower():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue