tapping into finder events

Mark Smith mark at maseurope.net
Wed Jan 9 21:15:19 EST 2008


Randall, 'open process' is a way of opening other apps and being able  
to communicate with them.

For example (this works on OS X with Rev 2.9, but won't with earlier  
versions of Rev), to run an interactive session in the bash shell:

on mouseUp
     put "/bin/bash" into tProc
     open process tProc for binary update
     write "echo $USER" & cr to process tProc
     wait 10 millisecs
     read from process tProc until empty
     put it
     close process tProc
end mouseUp

you should now see your username in the message box.

Hope this helps,

Mark



On 9 Jan 2008, at 08:17, Randall Lee Reetz wrote:

> What does "open process[ing]" something  do? How do you do it?
>
>



More information about the use-livecode mailing list