[Newbies] How to invoke other program in squeak?
hanzhupeng at gmail.com
Tue Jun 24 17:21:28 UTC 2008
2008/6/23 David T. Lewis <lewis at mail.msen.com>:
> On Mon, Jun 23, 2008 at 09:26:29AM +0800, Albert Lee wrote:
>> I want to invoke some script written in perl/python, how to do that in squeak ?
> There are add-on packages that will let you do this. In your Squeak image, use
> either a SqueakMap browser or a Universes browser, and look for the packages
> FFI, CommandShell, and OSProcess.
> FFI is the Foreign Function Interface, which includes the class Win32Shell
> that may help if you are using Windows.
> If you are using Linux, Unix, or Mac OS X, then OSProcess with CommandShell will
> give you access to external programs like perl and python. In the CommandShell
> package, look at PipeableOSProcess class>>tkExample for an example of controlling
> a tk/tcl script program from Squeak.
> For more information:
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
Thanks for your reply, It's useful.
I played squeak and Seaside for less than a week. It's amazing.
More information about the Beginners