mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-11-26 12:07:01 +08:00
Merge pull request #288 from johnjhacking/patch-1
This commit is contained in:
commit
e11f62a9ef
@ -87,8 +87,8 @@ class ReplicationError(Exception):
|
||||
|
||||
|
||||
def cmd_exists(cmd):
|
||||
return subprocess.call("type " + cmd, shell=True,
|
||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE) == 0
|
||||
return subprocess.Popen("type " + cmd, shell=True,
|
||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
|
||||
|
||||
def replicate_url(full_url,
|
||||
|
Loading…
Reference in New Issue
Block a user