Wiki
Download
Manual
Eggs
API
Tests
Bugs
show
edit
history
You can edit this page using
wiki syntax
for markup.
Article contents:
[[tags: egg]] == with-current-directory [[toc:]] == Description Convenience procedure for temporarily changing directories. The source for this extension is available [[https://git.foldling.org/chicken-with-current-directory.git|here]]. == Usage <procedure>(with-current-directory path thunk)</procedure> Changes directory to the given {{path}}, calls {{thunk}}, and restores the original working directory afterwards. Note that '''this procedure is not thread-safe'''. The current directory is a process-level value, and this extension makes no attempt to preserve thread-specific working directories across interrupts. If the calling thread is preempted or yields before the thunk's body returns, the given path will persist as the process's current working directory at least until the calling thread is resumed. == Author [[/users/evan-hanson|Evan Hanson]] == Repository [[https://git.foldling.org/chicken-with-current-directory/|https://git.foldling.org/chicken-with-current-directory/]] == License Public Domain
Description of your changes:
I would like to authenticate
Authentication
Username:
Password:
Spam control
What do you get when you add 23 to 11?