Working directory

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
21 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Working directory

Tudor Girba-2
+1

--
www.tudorgirba.com
www.feenk.com
"Every thing has its own flow."

> On 19 Jan 2018, at 02:11, Ben Coman <[hidden email]> wrote:
>
>> On 18 January 2018 at 14:33, Alistair Grant <[hidden email]> wrote:
>> Hi Hernán,
>>
>> On 18 January 2018 at 05:41, Hernán Morales Durand
>> <[hidden email]> wrote:
>>>
>>> Note that in R you can set the current working directory with setwd()
>>> and this is very common in R scripts.
>>>
>>> I like the idea around #imageDirectory and #vmStartupDirectory or just
>>> #vmDirectory.
>>> And maybe renaming #workingDirectory to #userWorkingDirectory would be
>>> more clear? Assuming 1 image = 1 user?
>>
>> In Pharo 7:
>>
>> FileLocator workingDirectory = C getcwd()  # same as R and most languages
>> FileLocator imageDirectory = the directory where the image is located
>> FileLocator vmDirectory = the directory where the vm is located
>
> I like the distinction of having all three.
>
> cheers -ben
>

12