next | previous | forward | backward | up | top | index | toc | packages | Macaulay2 website
Macaulay2Doc > The Macaulay2 language > system facilities > currentDirectory

currentDirectory -- current working directory

Synopsis

Description

i1 : currentDirectory()

o1 = /private/tmp/macaulay2-20230627-3072-8ygk79/M2-release-1.22/M2/BUILD/
     build-brew/Macaulay2/packages/

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.