From: Jon G. <jg...@hi...> - 2002-03-11 16:27:01
|
At 3:16 PM +0100 3/11/02, Andreas Otto wrote: > there have to be a way to call additional executables from > a Tcl script and there is... just not the Tcl norm. > I need the channel output back into a string > > I have an additional API for calling external SW -> > does Applescript helps ? Sure AppleScript/Tclapplescript is one option. My TclAE is another. In either case, you can get a reply, assuming the external app sends one, but it's really not the same as the channel output you are probably expecting. > does "open |..." works ? Mac OS 9? No. No pipes. > 1) is a commandline interface available > > cammandline + some kind of exec would be perfect Neither of these things really exist on Classic Mac. CodeWarrior provides for a limited command-line interface in your apps (look for docs on SIOUX and ccommand()). If you want your app to execute other apps, you'll need to do it with AppleEvents. Tell us more about exactly what you'd like to do and we can tell you more about how to accomplish it. > 2) is a cross compiler linux -> macOs9.1 ppc available > gcc does not support MacOs9.1 (this speak for them- > self) perhaps CodeWarrior ??? CodeWarrior has a linux variant. I've never used it and don't know what it's cross-compilation options are. -- Jonathan E. Guyer <http://www.his.com/jguyer/> |