John here is what I get with VM500 /Applications/Squeak/Squeak500b96432.app/Contents/MacOS/Squeak PharoCore-1.0-10503rc1.1.image test.st 2010-01-03 11:40:32.135 Squeak[46852:903] Can't open input server /Library/InputManagers/Inquisitor 2010-01-03 11:40:32.139 Squeak[46852:903] openFile state 1 with file PharoCore-1.0-10503rc1.1.image 2010-01-03 11:40:32.139 Squeak[46852:903] openFile state 0 with file test.st Stef On Jan 2, 2010, at 11:56 PM, John M McIntosh wrote:
Hey so what does a V5 VM do?
why don't you try with a './'
/Applications/Squeak/Squeak\ 4.2.2beta1U.app/Contents/MacOS/Squeak\ VM\ Opt PharoCore-1.0-10503rc1.1.image ./test.st
At 3.8.19b1 I did sqMacMain.c drop cwd to VM directory at startup time to help script writers use ../ or ./
which commented out this
/* LETS NOT DO THIS, SEE what happens for people wanting to do ./Squeak.app foobar.image zingger.st
{ // Change working directory, this works under os-x, previous logic worked pre os-x 10.4
char target[4097],temp[4097]; getVMPathWithEncoding(target,gCurrentVMEncoding); sqFilenameFromStringOpen(temp,(sqInt) target, strlen(target)); chdir(temp); } */
On 2010-01-02, at 2:22 PM, Stéphane Ducasse wrote:
Hi
Can somebody confirm that he gets the same error than me with the following code expression
/Applications/Squeak/Squeak\ 4.2.2beta1U.app/Contents/MacOS/Squeak\ VM\ Opt PharoCore-1.0-10503rc1.1.image test.st
where test.st is deadline
Beeper beep
<test.st>
I get Error: No content to install
I also get the same error with PharoCore1.1ALPHA Latest update: #11131
Now if I use
/Applications/Squeak/Squeak\ 4.2.2beta1U.app/Contents/MacOS/Squeak\ VM\ Opt PharoCore-1.0-10503rc1.1.image /Users/ducasse/Workspace/FirstCircle/ActiveResearch/Pharo/Pharo/Coral/test.st
it is working I thought that the passed argument was resolved using the current directory. John I remember that you change that is it true?
Stef_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project