About using squeak to script...
Damien Pollet
damien.pollet at gmail.com
Sun Aug 20 16:49:33 UTC 2006
On 8/16/06, Giovanni Corriga <giovanni at corriga.net> wrote:
> If you're on a Unix system, you should be able to use a WriteStream on
> the special dev file /dev/stdout.
Indeed it works :
FileStream fileNamed: '/dev/stdout'
do: [:stdout |
stdout nextPutAll: 'hello outside']
On mac I had to run squeak from a command-line by running this:
/Developer/Applications/Squeak/Squeak\
3.8.12beta4U.app/Contents/MacOS/Squeak\ VM\ Opt
/Developer/Applications/Squeak/3.9/base3.9g-7054.image
But that could be wrapped in a script or maybe using the unix VM.
--
Damien Pollet
type less, do more
More information about the Squeak-dev
mailing list
|