pass an argument that contain more than one space

Asked by andrea on 2012-03-22

Hi I need to pass some arguments to sikuli. One of this argument has a variable text and contains space. A possible value can be

Specific Problem= Resource Unavailable appendInfo Please contact admin

How can I pass to sikuli script all text as a single argument?

I tryied to put the string in a double quote "" but it does not work.

Regards
Andrea

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2012-03-22
Last reply:
2012-03-22
RaiMan (raimund-hocke) said : #1

Seems not to work as expected.

Put some start/ending tags on the command line and process sys.argv accordingly in your script.

e.g.
.... --args [ some text with spaces ]

Feel free to post a request bug.

Can you help with this problem?

Provide an answer of your own, or ask andrea for more information if necessary.

To post a message you must log in.