← Back to team overview

sikuli-driver team mailing list archive

[Bug 1187339] [NEW] Wrong behavior when sikuli handling an argument with space on Mac OS X

 

Public bug reported:

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

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1187339

Title:
  Wrong behavior when sikuli handling an argument with space on Mac OS X

Status in Sikuli:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1187339/+subscriptions


Follow ups

References