[squeak-dev] Macintosh command line script?

Howard Stearns howard.stearns at qwaq.com
Wed May 28 21:26:37 UTC 2008


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



More information about the Squeak-dev mailing list