About using squeak to script...
stéphane ducasse
ducasse at iam.unibe.ch
Sun Aug 20 18:49:02 UTC 2006
Thanks bert!
I think that this is the kind of features that could bring a lot of
scripters to squeak.
> On OS X 10.4 you can use either Console.app or
>
> tail -f /Library/Logs/Console/`id -u`/console.log
>
> This returns nil for me (might ask John, why)
>
> FileStream fileNamed: '/dev/stdout'
>
> but this works (on the class-side of class StdOut):
>
> puts: aString
> <cdecl: void 'puts' (char*) module: 'libSystem.dylib'>
> ^ExternalFunction externalCallFailed
>
> then
>
> StdOut puts: 'Hello World'
>
>
> - Bert -
>
>
More information about the Squeak-dev
mailing list
|