I have a card that loops sends read & write from process that was opened for an interactive (non-blocking) session with:
open process tProcess for update
Seems like the read part in an infinite loop waiting for input in LC 7.0 (works in 6.6.2 rc4 , 6.7 not tested)
"Command period yields:
Message execution error:
Error description: read: aborted
Hint: "
-- hint is blank??? <-- this is because of the Command+period stopping of the script
my read loop command:
Code: Select all
global tRunning,tProcess
command readLoop tProcess
if tRunning then
read from process tProcess until empty
if it is not empty then
put it after field "outField"
set the vscroll of field "outField" to the formattedheight of field "outField"
end if
send readLoop to me in 100 milliseconds -- 100 milliseconds
end if
end readLoop