← Back to team overview

sikuli-driver team mailing list archive

[Bug 1187339] Re: [1.0] Mac: wrong handling of command line argument with space

 

** Changed in: sikuli
   Importance: High => Critical

** Summary changed:

- [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

-- 
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:
  [1.0] Mac: wrong handling of command line argument with space ---
  fixed in 1.1.0

Status in Sikuli:
  Fix Committed

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


References