sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #09498
[Bug 963787] Re: [request] passing arguments with space to Sikuli-IDE-w.bat
** Summary changed:
- passing arguments with space to Sikuli-IDE-w.bat
+ [request] passing arguments with space to Sikuli-IDE-w.bat
** Changed in: sikuli
Importance: Undecided => Wishlist
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/963787
Title:
[request] passing arguments with space to Sikuli-IDE-w.bat
Status in Sikuli:
New
Bug description:
Sikuli version: 1.0rc3
Operating System: Windows XP SP3
I need to pass to some arguments to sikuli script using Windows cmd
line. The instruction is the following:
cmd /c "C:\Program Files\Sikuli X\Sikuli-IDE-w.bat" -r D:\Sikuli\Alarm_Enhanced_Navigation\prova_param.sikuli pippo peppe "text with some space"
The last argument contains space, so i put in double quote.
If i do like this sikuli does not start. I check on task manager and java does not start at all.
If I try the same script with arguments with no space it works fine.
Here the sikuli program used:
import os
import sys
[insuser,alarmsource]=sys.argv[1:]
popup(insuser)
popup(alarmsource)
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/963787/+subscriptions
References