Quote the arguments, they may contain strings.
diff --git a/Mac/OSX/pythonw.sh b/Mac/OSX/pythonw.sh
index d3ee37d..b919bb9 100755
--- a/Mac/OSX/pythonw.sh
+++ b/Mac/OSX/pythonw.sh
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /Library/Frameworks/Python.framework/Versions/Current/Resources/Python.app/Contents/MacOS/python $@
+exec /Library/Frameworks/Python.framework/Versions/Current/Resources/Python.app/Contents/MacOS/python "$@"