Github user cloudtrends commented on the pull request:
https://github.com/apache/cloudstack/pull/66#issuecomment-70043494
My test environment is on Windows 2008 & cygwin 64 bits version .
I can reoccur the error's by below python scripts:
--------------------------- cygwin_python_test.py -------------------
import os.path
import sys
file_name = sys.argv[1]
if os.path.exists(file_name):
print file_name
else:
print "can not find"
-------------------------------- end --------------------------
test it by , touch a file : F:/sourcecode/python/a-exist.txt
First test with Backslash :
$ python cygwin_python_test.py F:\sourcecode\python\a-exist.txt
can not find
Then with slash :
$ python cygwin_python_test.py F:/sourcecode/python/a-exist.txt
F:/sourcecode/python/a-exist.txt
------------
So , I thinks we should change the backslash to slash in windows
environment .
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---