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.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to