[1.0] Mac: wrong handling of command line argument with space --- fixed in 1.1.0

Bug #1187339 reported by redwine on 2013-06-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Critical
RaiMan

Bug Description

On Mac, I wrote only one line in test.sikuli as following:
print sys.argv[1]

and then:
launch it from command line:
pathToSikuli-script -r pathToTest.sikuli -- "hello world"
PS: I used "--args" in sikuli r930 and "--" in sikuli x 1.0 final

I was expecting to print "hello world" only from sys.argv[1], but only get "hello"

the same script on Windows could print "hello world" which is I expected.

I tried "hello\ world", "\'hello\\ world\'".. and so on, all don't work as I expected.
Thanks in advance for any ideas.

The version of Sikuli I used is r930 and the newest Sikuli X 1.0, also I tried Beta999.
Mac OS X 64bit

back from vacation I will check it asap

summary: - Wrong behavior when sikuli handling an argument with space on Mac OS X
+ [1.0] Mac: wrong handling of command line argument with space
Changed in sikuli:
status: New → In Progress
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
RaiMan (raimund-hocke) on 2013-06-15
tags: added: scriptrun
RaiMan (raimund-hocke) on 2014-01-12
Changed in sikuli:
status: In Progress → Fix Committed
RaiMan (raimund-hocke) on 2015-09-17
Changed in sikuli:
importance: High → Critical
summary: - [1.0] Mac: wrong handling of command line argument with space
+ [1.0] Mac: wrong handling of command line argument with space --- fixed
+ in 1.1.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers