mirror of
https://github.com/9001/copyparty.git
synced 2026-11-26 12:31:08 +00:00
nice them too
This commit is contained in:
1 parent
c0e31851da
commit
81f82e8e9f
1 file changed
+3
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user