From 476e033a78e3d171fb06a22407cbc3d165783e7d Mon Sep 17 00:00:00 2001 From: grossmj Date: Sat, 5 Sep 2015 11:30:26 -0600 Subject: [PATCH] Fixes path to vmnet-cli on Mac OS X. --- utils/vmnet.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/vmnet.py b/utils/vmnet.py index f969c05d..bfc59c9b 100644 --- a/utils/vmnet.py +++ b/utils/vmnet.py @@ -75,9 +75,9 @@ def write_networking_file(version, pairs): if sys.platform.startswith("darwin"): if not os.path.exists("/Applications/VMware Fusion.app/Contents/Library/vmnet-cli"): raise SystemExit("VMware Fusion is not installed in Applications") - os.system("/Applications/VMware Fusion.app/Contents/Library/vmnet-cli --configure") - os.system("/Applications/VMware Fusion.app/Contents/Library/vmnet-cli --stop") - os.system("/Applications/VMware Fusion.app/Contents/Library/vmnet-cli --start") + os.system(r"/Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --configure") + os.system(r"/Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stop") + os.system(r"/Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --start") else: os.system("vmware-networks --stop") os.system("vmware-networks --start")