← Back to team overview

sikuli-driver team mailing list archive

[Question #633619]: calling a python script with os.system

 

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

I am trying to call a python script from the sikuli IDE (Sikuli 1.1.0 on windows):

import os
os.system("py test.py")

(I know it's kind of stupid to use os.system as sikuli is based on python, but test.py has a sophisticated argument parsing system that would take too much time for me to recode)

in test.py I have a simple

print "3"

If I run py test.py in the command line it works
but if I run the above script from within the IDE I don't get any output

Is the output printed but I don't see it? Or is it that test.py is not ran at all?

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