Macaulay2 » Documentation
Packages » Macaulay2Doc > The Macaulay2 language > system facilities > currentDirectory
next | previous | forward | backward | up | index | toc

currentDirectory -- current working directory

Synopsis

Description

i1 : currentDirectory()

o1 = /tmp/tmp.ITU148GERD/M2-1.22/M2/BUILD/doug/Macaulay2/packages/
     Macaulay2Doc-temporary/

If a component of the path to the current directory no longer exist, an error will be signalled.

For the programmer

The object currentDirectory is a compiled function.