From: Donghoon Shin Date: Thu, 2 Feb 2017 03:58:30 +0000 (+0900) Subject: Add shell=True to make sure that sdb does exist X-Git-Tag: 0.3.5~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30d643a6fed6d056f812db6c826e82e351d23c1d;p=tools%2Flitmus.git Add shell=True to make sure that sdb does exist --- diff --git a/litmus/cmds/__init__.py b/litmus/cmds/__init__.py index 6fa3183..f5b387b 100644 --- a/litmus/cmds/__init__.py +++ b/litmus/cmds/__init__.py @@ -32,7 +32,7 @@ def load_project_list(projects): def sdb_does_exist(): help_url = 'https://github.com/dhs-shine/litmus#prerequisite' try: - call('sdb version', timeout=10) + call('sdb version', shell=True, timeout=10) except FileNotFoundError: raise Exception('Please install sdb. Refer to {}'.format(help_url)) return