From 87faf71dafab1b94f9f648b78e11e71310e45c63 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 8 Oct 2010 21:38:01 +0200 Subject: busybox renice --- module/pyunrar.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module/pyunrar.py b/module/pyunrar.py index 14379ffcb..3ba689dad 100644 --- a/module/pyunrar.py +++ b/module/pyunrar.py @@ -110,7 +110,10 @@ class Unrar(): try: Popen(["renice", self.cpu, p.pid], stdout=PIPE, bufsize=-1) except: - print "Renice failed" + try: + Popen(["busybox", "renice", self.cpu, p.pid], stdout=PIPE, bufsize=-1) + except: + print "Renice failed" def listContent(self, password=None): """ -- cgit v1.2.3