nice them too

This commit is contained in:
ed 2021-03-19 21:28:10 +01:00
parent c0e31851da
commit 81f82e8e9f

View file

@ -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: