Re: [fricas-devel] create directory in OS independent way

2024-05-15 Thread Waldek Hebisch
On Wed, May 15, 2024 at 11:32:04PM +0200, Ralf Hemmecke wrote: > For a given fn of type FileName I cannot simply say > > fh := open(fn, "output") > > if the folder directory(fn) does not yet exist. > I haven't found any other way than using > > systemCommand("system mkdir -p " directory fn)$

[fricas-devel] create directory in OS independent way

2024-05-15 Thread Ralf Hemmecke
For a given fn of type FileName I cannot simply say fh := open(fn, "output") if the folder directory(fn) does not yet exist. I haven't found any other way than using systemCommand("system mkdir -p " directory fn)$MoreSystemCommands . Is there a more OS-independent way to create a directory