Arc Forumnew | comments | leaders | submitlogin
3 points by pg 5913 days ago | link | parent

Anyone know what I should use to work in the maximum number of OSes?


3 points by ecmanaut 5913 days ago | link

Any specific reason not to use (make-directory) instead of (system "mkdir ...") and let scheme handle the portability? http://download.plt-scheme.org/doc/372/html/mzscheme/mzschem...

-----

1 point by CatDancer 5912 days ago | link

Rather bizarrely, on my Linux system at least, make-directory is creating directories with the sticky bit set... and I didn't see anywhere in the MzScheme's manual a way to set the umask. Perhaps someone else will have better luck.

If this can be fixed, the make-directory* function in the MzScheme file.ss library will usefully create intervening directories, like mkdir -p does.

-----

3 points by elibarzilay 5910 days ago | link

That was fixed in version 371.

-----

1 point by CatDancer 5912 days ago | link

mkdir -p

-----