Status: New
Owner: ----
New issue 246 by ycwang: length of sys.argv
http://code.google.com/p/ulipad/issues/detail?id=246
What steps will reproduce the problem?
1. we have the following code in .py
if len(sys.argv)>1:
solver = Solver(resultsDir = sys.argv[1])
else:
solver = Solver()
2. use F5 to run the file in ulipad
3. it will assume sys.argv, hence we got resultsDir=
What is the expected output? What do you see instead?
it should go to Solver() branch and use a default resultsDir. I can go to
terminal windows and do python a.py, then it follows the else branch.
What version of the product are you using? On what operating system?
ubuntu
Please provide any additional information below.