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

obiwan-92 proposed the following answer:
Hello,

If you really want the result of your command try this :

import subprocess as sub
p = sub.Popen("echo $(date +'%Y-%m-%d 
%H:%M:%S')",stdout=sub.PIPE,stderr=sub.PIPE)
output, errors = p.communicate()
print output

It should be work.

Regards

-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to