<html><head></head><body bgcolor="#FFFFFF"><div>You are right - cwd should be set to the image directory. I can fix that.</div><div><br></div><div>Russell</div><div><br>On 24/02/2012, at 8:00 AM, Tobias Pape <<a href="mailto:Das.Linux@gmx.de">Das.Linux@gmx.de</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>














<span style="display:none"> </span>



    <div id="ygrp-text">
      
      
      <p><br>
Am 2012-02-23 um 08:35 schrieb Tobias Pape:<br>
<br>
> <br>
> Am 2012-02-23 um 02:19 schrieb Russell Allen:<br>
> <br>
> > Hi guys,<br>
> > <br>
> > As I mentioned before I have been thinking about how to make the current VM experience on Macs (with the droplet, complex installer etc) better. <br>
> > <br>
> > I've uploaded a first think of a better way to <a href="http://selflanguage.org/files/releases/4.5/experimental/SelfVM-23Feb12.zip">http://selflanguage.org/files/releases/4.5/experimental/SelfVM-23Feb12.zip</a><br>
> <br>
> This is great :)<br>
> Just one comment: The actual VM inside the app shouldn't be called Self.app, too.<br>
> I either would name the inner app SelfVM.app or the outer app SelfManager.app.<br>
> The name clash can have stupid side effects on OS X.<br>
<br>
One more thing:<br>
<br>
executing<br>
  os getcwd<br>
with the default Self.app (via Droplet)<br>
results in the path of the running image<br>
(eg, '/Users/myname/self/')<br>
<br>
whereas executing<br>
  os getcwd<br>
with the new app results in<br>
 '/'<br>
which leads to the problem that the example<br>
runScript-s do not work.<br>
<br>
Either way, have the image dir as cwd seems reasonable,<br>
but this, too, prevents from executing stuff like<br>
  'applications/smalltalk/smalltalk.self' runScript<br>
Or am I doing something stupid here?<br>
<br>
Best<br>
        -Tobias<br>
<br>
</p>

    </div>
     

    





<!-- end group email -->

</div></blockquote></body></html>