← Back to team overview

sikuli-driver team mailing list archive

[Question #682911]: Why do sikuli and runnable jar created from sikuli fetch different directory?

 

New question #682911 on Sikuli:
https://answers.launchpad.net/sikuli/+question/682911

Hi, I have this code:

path = os.path.dirname(getBundlePath())
print path

Output when running from Sikuli IDE is: C:\Users\Me\Desktop\Here\ <<<EXPECTED

But when I exported as runnable jar and executed from CMD admin, output is C:\Users\Me\Desktop <<<Could not fetch Here folder

Why is the path different with Sikuli IDE and jar?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.