On Sep 22, 2010, at 3:12 10AM, John M McIntosh wrote:
>
>
> Begin forwarded message:
>
>> From: John M McIntosh <[email protected]>
>> Date: September 21, 2010 3:55:54 PM PDT
>> To: Henrik Johansen <[email protected]>
>> Cc: [email protected]
>> Subject: Re: [Pharo-project] Launching class form command line ...
>> Reply-To: [email protected]
>>
>>
>>
>> On 2010-09-21, at 7:01 AM, Henrik Johansen wrote:
>>>>
>>>
>>> BTW, dunno if it's a crossplatform Cog issue ( haven't checked others) but
>>> in John's new OSX Cog-based VMs (last tested 5.8b9), it doesn't look like
>>> the arguments are present in systemAttributes at position 2 onwards.
>>> Thus, ProjectLauncher will fail to execute scripts at all.
>>
>> This should work, can you supply an example of use.
Here are the command lines I used:
/Applications/Squeak\ 4.2.5beta1U.app/Contents/MacOS/Squeak\ VM\ Opt
/Users/henrikjohansen/Dropbox/Pharo/PharoCore-1.2-12137.image spaceTally.st
In image:
Smalltalk documentPath 'spaceTally.st'
/Applications/Squeak\ 64-32\ 5.7b1.app/Contents/MacOS/Squeak
/Users/henrikjohansen/Dropbox/Pharo/PharoCore-1.2-12137.image spaceTally.st
In image:
Smalltalk documentPath nil
('spaceTally.st' not in any system attribute < 4000 either)
/Applications/Squeak\ 5.8b9.app/Contents/MacOS/Squeak
/Users/henrikjohansen/Dropbox/Pharo/PharoCore-1.2-12137.image spaceTally.st
Same in-image behavior as 5.7b1.
So doesn't seem specifically Cog-related, as it affects 5.7 as well
Cheers,
Henry
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project