sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #14726
Re: [Question #214804]: Calling apps/processes in WinXP 32
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.