[squeak-dev] Macintosh command line script?
Howard Stearns
howard.stearns at qwaq.com
Thu May 29 13:34:29 UTC 2008
Thanks, John and Keith.
Alas, it fails the same way in the current version from http://ftp.squeak.org/current_stable/mac/Squeak3.10.1-7175mac.zip
(link on "Latest Release" of squeak.org), for which
SmalltalkImage current getSystemAttribute: 1006
=> 'Mac Carbon 3.8.18b3 10-Apr-08 >DC0EAF5D-C46C-479D-B2A3-
DBD4A2DF95A8<'
Seems odd to me that no one is using Squeak for scripting or arbitrary
applications on Mac.
Or if people use, say, custom class #startUp methods instead, why do
we have script processing at all on the other platforms?
-Howard
On May 28, 2008, at 8:23 PM, John M McIntosh wrote:
> 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
|