sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #09496
[Bug 963787] [NEW] passing arguments with space to Sikuli-IDE-w.bat
Public bug reported:
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)
** 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/963787
Title:
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
Follow ups
References