temporaryFileName()
|
|
This function will work under Unix, and also under Windows if you have a directory on the same drive called /tmp.
If the name of the temporary file will be given to an external program, it may be necessary to concatenate it with rootPath or rootURI to enable the external program to find the file.
The temporary file name is derived from the value of the environment variable TMPDIR, if it has one.
If fork is used, then the parent and child Macaulay2 processes will each remove their own temporary files upon termination, with the parent removing any files created before fork was called.
The object temporaryFileName is a function closure.