mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 00:52:16 -06:00
nice them too
This commit is contained in:
parent
c0e31851da
commit
81f82e8e9f
|
@ -324,6 +324,9 @@ class MTag(object):
|
|||
for tagname, (binpath, timeout) in parsers.items():
|
||||
try:
|
||||
cmd = [sys.executable, binpath, abspath]
|
||||
if not WINDOWS:
|
||||
cmd = ["nice"] + cmd
|
||||
|
||||
cmd = [fsenc(x) for x in cmd]
|
||||
v = sp.check_output(cmd, env=env, timeout=timeout).strip()
|
||||
if v:
|
||||
|
|
Loading…
Reference in a new issue