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

Wayne McLachlan posted a new comment:
Thanks Raimund.

the subprocess module solves it. For other users, my solution is:

    cmd = 'C:\\Controller\\_1_PSUtest.app\\bin\\_1_PSUtest.app.exe'
    args = [cmd, 'myarg1', 'myarg2' ]
    p = subprocess.Popen(args, stdout=PIPE)
    output = p.communicate()[0].strip()

The process executes, and console output from it is returned in 'output'

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to