<div dir="ltr">pwd must be lowercase, and its a&nbsp; method wich returns absolute path of current directory.<br><br>ex:<br><br>lol@magalo:~<br>$ cd /usr/local/bin/<br><br>lol@magalo:/usr/local/bin<br>$ pwd<br>/usr/local/bin<br>
<br>try<br><br>Users/alexandrebergel/Desktop/Smalltalk/Squeak/Squeak\ 3.8.12beta4U.app/Contents/MacOS/Squeak\ VM\ Opt `pwd`/ready.image `pwd`/<a href="http://test.st/" target="_blank">test.st</a><br><br>surrounding pwd with ` <br>
<br>Laurent Laffont<br><br><div class="gmail_quote">On Thu, Sep 4, 2008 at 9:24 AM, Bergel, Alexandre <span dir="ltr">&lt;<a href="mailto:bergel@iam.unibe.ch">bergel@iam.unibe.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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.<br>
The command below simply opens the image, without loading the script:<br>
<br>
-=-=-=-=-=-=-=-=-=-=-=-=<br>
Users/alexandrebergel/Desktop/Smalltalk/Squeak/Squeak\ 3.8.12beta4U.app/Contents/MacOS/Squeak\ VM\ Opt $PWD/ready.image $PWD/<a href="http://test.st" target="_blank">test.st</a><br>
-=-=-=-=-=-=-=-=-=-=-=-=<br>
<br>
in which <a href="http://test.st" target="_blank">test.st</a> simply contains 10/0.<br>
I would have expected a debugger to be open.<br>
<br>
I tried various combinations with file:/$PWD/<a href="http://test.st" target="_blank">test.st</a>, file:$PWD/<a href="http://test.st" target="_blank">test.st</a>, file://$PWD/<a href="http://test.st" target="_blank">test.st</a> but this does not help to load the script.<br>

<br>
Any idea?<br>
<br>
Cheers,<br>
Alexandre<br>
<br>
<br>
On 3 Sep 2008, at 17:53, Bert Freudenberg wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Am 03.09.2008 um 17:42 schrieb Bergel, Alexandre:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear List,<br>
<br>
I try to run the OSX VM from the &nbsp;command line. I run the following command, where ready.image is a Squeak image:<br>
<br>
/Users/alexandrebergel/Desktop/Smalltalk/Squeak/Squeak\ 3.8.12beta4U.app/Contents/MacOS/Squeak\ VM\ Opt ready.image<br>
<br>
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.<br>
</blockquote>
<br>
<br>
You need to give the full path to the image.<br>
<br>
- Bert -<br>
<br>
<br>
<br>
</blockquote>
<br>
-- <br>
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:<br>
Alexandre Bergel &nbsp;<a href="http://www.bergel.eu" target="_blank">http://www.bergel.eu</a><br>
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.<br>
<br></blockquote></div>
</div>