[m-rev.] No predicate to change the working directory?
Julien Fischer
jfischer at opturion.com
Sun Mar 15 14:30:57 AEDT 2020
Hi Volker,
On Sat, 14 Mar 2020, Volker Wysk wrote:
> I've searched the library reference manual, thoroughly, and couldn't
> find a predicate to change the working directory. Can this be?
Apparently so ;-) Although no-one else has complained about its
absence for the last 25 years or so ...
> I could write an interface to chdir(2) for the posix library
That would be the easiest way ahead.
> , but I think this should better go to the standard library.
In which case we would need an implementation that works across all
backends / platforms -- I think Java may have been a stumbling block for
this in the past, although it looks as though it may be possible now.
(I suggest that if it is added the standard library that
current_directory be renamed to get_current_directory.)
Julien.
More information about the reviews
mailing list