Skill code to find and print the files with name that matches *.cdslck* in the current directory:
findCmd = "find . -name '*.cdslck*' -print"
cid1 = ipcBeginProcess(findCmd)
;ipcWaitForProcess(cid1)
ipcWait(cid1)
strOut = ipcReadProcess(cid1)
println(strOut)
After ipcBeginProcess() command, if ipcWaitForProcess(cid1) command is used, nothing is read out, strOut="".
If ipcWait(cid1) is used, the read out string is correct. But if too many files are found, the string read out is not completed. In my case, the files after the 74 are discarded.
Question1, what's the difference between functions ipcWait() and ipcWaitForProcess()? I can't find it from the skill manual.
Question2, Why the read out string is not complete with ipcReadProcess() after ipcWait() when the output string is long enough? How to solve this problem?
Best Regards,
Martin