[squeak-dev] MacOSX VM and scripts

Bergel, Alexandre bergel at iam.unibe.ch
Thu Sep 4 07:24:40 UTC 2008


I am now trying to provide a script name in the command line to  
execute a script after having open the image. However scripts are not  
loaded apparently.
The command below simply opens the image, without loading the script:

-=-=-=-=-=-=-=-=-=-=-=-=
Users/alexandrebergel/Desktop/Smalltalk/Squeak/Squeak\  
3.8.12beta4U.app/Contents/MacOS/Squeak\ VM\ Opt $PWD/ready.image $PWD/ 
test.st
-=-=-=-=-=-=-=-=-=-=-=-=

in which test.st simply contains 10/0.
I would have expected a debugger to be open.

I tried various combinations with file:/$PWD/test.st, file:$PWD/ 
test.st, file://$PWD/test.st but this does not help to load the script.

Any idea?

Cheers,
Alexandre


On 3 Sep 2008, at 17:53, Bert Freudenberg wrote:

>
> Am 03.09.2008 um 17:42 schrieb Bergel, Alexandre:
>
>> Dear List,
>>
>> I try to run the OSX VM from the  command line. I run the following  
>> command, where ready.image is a Squeak image:
>>
>> /Users/alexandrebergel/Desktop/Smalltalk/Squeak/Squeak\  
>> 3.8.12beta4U.app/Contents/MacOS/Squeak\ VM\ Opt ready.image
>>
>> A mac file browser opens and apparently is waiting for me to select  
>> an image. The image is not run therefore. This is strange since I  
>> provided the name of one.
>
>
> You need to give the full path to the image.
>
> - Bert -
>
>
>

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.








More information about the Squeak-dev mailing list