diff --git a/src/common.py b/src/common.py index b41591357..4c1b53463 100644 --- a/src/common.py +++ b/src/common.py @@ -186,12 +186,11 @@ def fetch_url(url): return None def exec_command(executable, *parameters): - from subprocess import Popen - + import os command = [executable] command.extend(parameters) try: - Popen(command) + os.WEXITSTATUS(os.system(command[0] +" "+ command[1])) except OSError: import gtk