[Vm-dev] Re: working directory under Mac OS X

Andreas Raab andreas.raab at gmx.de
Thu May 26 07:30:48 UTC 2011


On 5/26/2011 9:16, Stefan Marr wrote:
>
> Hi Eliot,
> Hi Esteban:
>
>
> On 26 May 2011, at 09:02, Andreas Raab wrote:
>
>> FWIW, I'm completely neutral on this just as long as we ensure that "FileDirectory default" points to the image directory. Whether the OS' cwd is the image, the vm, or some random directory is completely irrelevant from my POV.
> I would be really happy if you could consistently remove the chdir.
>
>  From my point of view, it is very relevant.
>
> However, "FileDirectory default" seems to be very underspecified. (The comment in the method does not tell me what it is supposed to mean.)

Please let's not confuse matters here: What Eliot has been mentioning is 
a chdir() call in the VM which I have no opinion about. What I do have 
an opinion about is the notion of FileDirectory default which has always 
been set to the image directory (see FileDirectory class startUp). This 
should remain the same because there's lots of code which assumes 
precisely that and if changes in the VM would cause this to be a 
different directory, a lot of code would needlessly break. There could 
very well be some other way of querying the startup directory but that 
is not the question that was asked in this thread,

Cheers,
   - Andreas



More information about the Vm-dev mailing list