sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #55467
Re: [Question #691987]: Problem to execute a shell command with run()
Question #691987 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691987
Status: Open => Answered
RaiMan proposed the following answer:
Your command might be to complex (embedded " and ') for the internal
parameter eval of run().
You might try with subprocess.popen.
... but why don't you just use simple file handling:
out = open("/home/my/path /scripts/prepare_VM_data.sh, "w")
out.write("1\ny\ny\ny\ny\ny\n\")
out.close()
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.