diff --git a/fetch-macOS.py b/fetch-macOS.py index b540db9..c8d9a57 100755 --- a/fetch-macOS.py +++ b/fetch-macOS.py @@ -87,7 +87,7 @@ class ReplicationError(Exception): def cmd_exists(cmd): - proc subprocess.Popen("type " + cmd, shell=True, + return subprocess.Popen("type " + cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)