sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #31277
Re: [Question #264175]: What is the best way to verify the output of the run() command?
Question #264175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264175
Status: Open => Answered
RaiMan proposed the following answer:
Using Sikuli features for that is overkill, since you would need the
not very reliable OCR feature.
simply pipe the command output to a file and just process it.
… or from inside a script use:
result = run("someCommand parm1 parm2")
print result
result contains the textual output that the command produced on stdout
AND stderror
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.