[1.1.0] comand line quoted parameters: single quotes should work too --- to be checked

Bug #1533134 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

Bug Description

************* workaround

use double-quotes

---------------------------------

I wrote a simple test por pass user parameters by command line in Windows. For one-word parameters it works ok, but when I quote parameters to include spaces in values, sikulix is ignoring my quotes. In fact it treats quotes as part of each parameter, as it does to any other character.

The command line used is like this:
<path>runsikulix.cmd -r <path to script.sikuli> -- 'par 1' 'par 2'

My script is this:
import sys
for arg in sys.argv:
    print arg
popup("see what u got.")

The result is this:
'par
1'
'par
2'

So, I conclude that sikulix treated my command line as containing 4 parameters.

I'm using Sikulix 1.1.0 Build: 2015-09-15_01:00nightly

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.1
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → In Progress
importance: High → Medium
milestone: 1.1.1 → 2.0.5
summary: - [1.1.0] comand line quoted parameters: single quotes should work too
+ [1.1.0] comand line quoted parameters: single quotes should work too ---
+ to be checked
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.