diff --git a/runhelper/runhelper b/runhelper/runhelper index 22b9a04..464c50a 100644 --- a/runhelper/runhelper +++ b/runhelper/runhelper @@ -13,7 +13,7 @@ except IndexError, e: command = json.loads(command.decode('base64')) -pr = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE) +pr = subprocess.Popen(["sudo"] + command, stdout=subprocess.PIPE, stderr=subprocess.PIPE) data = pr.communicate() pr.wait()