[squeak-dev] Macintosh command line script?

Keith Hodges keith_hodges at yahoo.co.uk
Wed May 28 22:25:38 UTC 2008


Howard Stearns wrote:
> How do I pass in the name of a script to run when starting squeak from 
> a Macintosh command shell?
>
> I thought it was:
>     <vm> <imagename> <scriptname> otherArg1 otherArg2 etc
>
> But that doesn't seem to be working on Mac:
>   Smalltalk getSystemAttribute: 2 => ''
> although lower or higher integers work as expected, and 2 works as 
> expected on Windows and Linux.
>
> For <vm>, I mean something that reaches inside the Mac .app, like 
> squeak.app/Contents/MacOS/VM
>
> In my case:
> Smalltalk getSystemAttribute: 1006
> => 'Mac Carbon 3.8.12b5 6-Jun-06 >BA037700-B8B0-4089-B25E-338707613B8A<'
> and
> Smalltalk getSystemAttribute: 1001  => 'Mac OS'
>
>
>
> -Howard
Last time I tried the MacOS vm wasnt accepting commandline params

Keith




More information about the Squeak-dev mailing list