← Back to team overview

sikuli-driver team mailing list archive

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

 

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

    Status: Answered => Solved

stephane confirmed that the question is solved:
Ok thanks, got it working with:


from subprocess import Popen, PIPE
pipe = Popen("py -2.7 C:\\test.py", stdout=PIPE)
text = pipe.communicate()[0]
print text

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