minor fix for execution result

This commit is contained in:
Volkan Şahin 2016-05-26 17:00:42 +03:00
parent c0f1772eb6
commit 40bf1c3666
1 changed files with 3 additions and 2 deletions

View File

@ -116,7 +116,8 @@ class Util:
@staticmethod @staticmethod
def execute(command): def execute(command):
return subprocess.Popen(command, shell=True) p = subprocess.Popen(command, shell=True)
return p.wait()
@staticmethod @staticmethod
def execute_script(script_path, parameters=None): def execute_script(script_path, parameters=None):