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

currentDirectory -- current working directory

Description

i1 : currentDirectory()

o1 = /home/m2user/work/M2/M2/M2/BUILD/build/Macaulay2/packages/

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

See also

For the programmer

The object currentDirectory is a compiled function.


The source of this document is in Macaulay2Doc/ov_system.m2:691:0.