From: Jack J. <Jac...@or...> - 2002-03-12 15:10:18
|
For Python there's an extension module that uses AppleEvents to talk to the MPW tool server and thereby provide functionality to exec()/system(), through the 'misc'/'dosc' event. You could do something similar for Tcl, I guess. And MPW understands < and > I/O redirection, so you could redirect output to a file that you would then open from your Tcl code. This only gives you access to stuff compiled as an MPW tool, not to general applications, but for general applications it would be unclear anyway what "output" would mean. -- - Jack Jansen <Jac...@or...> http://www.cwi.nl/~jack - - If I can't dance I don't want to be part of your revolution -- Emma Goldman - |