mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-11-22 10:20:00 +08:00
Update fetch-macOS.py
This commit is contained in:
parent
62baabc31e
commit
0d70bed2ed
@ -87,7 +87,7 @@ class ReplicationError(Exception):
|
|||||||
|
|
||||||
|
|
||||||
def cmd_exists(cmd):
|
def cmd_exists(cmd):
|
||||||
proc subprocess.Popen("type " + cmd, shell=True,
|
return subprocess.Popen("type " + cmd, shell=True,
|
||||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user