Hi Derek,
Thank you for your quick help. Everything goes fine but I am not able to read the returnData. The log file has only the "mySkillCommand..."
I seem to have some issue with read timing.
I tried doing it another way like the following:
Python:
import sys
import os
sys.stdout.flush()
os.write(3,"(println \"Hello World!!\")")
os.write(3,"(println \"Second time, Hello World!!\")")
os.write(3,"(3+3)")
a="(nil)"
while "(nil)" in a:
a="Start:",os.read(4,4096)
SKILL:
cid = ipcSkillProcess("python ~/scripts/skill/ipc_py/test2.py")
I still have some timing issue, which improved with that while loop. Cadence seemed to return "(nil)" each time the read timing missed. Is there anyway to permanently resolve this issue?
Thanks,
Vijay