← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #677880]: Output/stdout from python script in Sikuli IDE was cut

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
shouldn't you wait for subprocess completion?

Please check wether the simple read does so.

The termination of the script after the print might happen too fast and
the subprocess is killed.

BTW: There is a feature, to run PowerShell snippets from within SikuliX script. I would highly appreciate, if you would give it a try and feedback.
see: https://sikulix-2014.readthedocs.io/en/latest/scripting.html#running-scripts-and-snippets-from-within-other-scripts-and-run-scripts-one-after-the-other

... towards the end: runScript(snippet)

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