read from process - example wanted

Rodney Tamblyn rodneytamblyn at paradise.net.nz
Tue Aug 19 07:36:01 EDT 2003


Could someone please post a simple example of opening and 
reading/writing to a process?  On OSX how do you launch a process which 
requires root priviledge?

Is it possible to open a shell process?  I couldn't get it to work...  
eg
open process "/bin/bash" for update
write "cd /" to process "/bin/bash"

Mostly I'm just looking for a few pointers from anyone on the list who 
has experience working with reading/writing processes.

Thanks!

Rodney
--
Rodney Tamblyn
44 Melville Street
Dunedin
New Zealand
+64 3 4778606
http://rodney.weblogs.com/




More information about the use-livecode mailing list