[squeak-dev] Macintosh command line script?

John M McIntosh johnmci at smalltalkconsulting.com
Thu May 29 01:23:04 UTC 2008


Well the current VM is Mac Carbon 3.8.18b3 10-Apr-08
Using one from two years back means you miss out on lots
I'd suggest you download the current release and try again...

On May 28, 2008, at 3:25 PM, Keith Hodges wrote:

> 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
>
>

--
= 
= 
= 
========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================





More information about the Squeak-dev mailing list