chickadee » chicken » process-context » posix » change-directory*

change-directory* FDprocedure
(set! (current-directory) FD)procedure

Changes the current working directory to the one represented by the file-descriptor FD, which should be an exact integer.

NOTE: Windows does not allow {open} on directories, so while technically it is supported, in practice you cannot use this procedure on native Windows builds (on cygwin it works because cygwin emulates this).