X-1.0rc2: sys.argv doesn't contains script name as a first argument
Bug #788005 reported by
anatoly techtonik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Python libraries, such as optparse rely on the behavior that sys.argv[0] is the script name - http://
from optparse import OptionParser
import sys
print sys.argv
(options, args) = OptionParser(
print options, args
Changed in sikuli: | |
status: | New → Fix Committed |
milestone: | none → x1.0-rc3 |
Changed in sikuli: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.