[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Creating a directory in a lua script
- From: "Leonardo Maciel" <leonardo@...>
- Date: Mon, 25 Jun 2007 10:06:45 -0300
What do you mean by a temporary directory? Temporary files are automatically
deleted when closed or upon program termination. Do you need the same
semantics on your temporary directory?
If you have no need for portability and you simply want to create a regular
directory you could "os.execute" some mkdir (or equivalent) command.
[mailto:firstname.lastname@example.org] On Behalf Of Frank Küster
Sent: segunda-feira, 25 de junho de 2007 09:47
Subject: Creating a directory in a lua script
I need to create a temporary directory in a lua script, but I couldn't find
any information on how to do that. Since this is supposed to be a
standalone script, I cannot use a function from the C-library, I guess.
Can someone give me a pointer?
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ.
Zürich Debian Developer (teTeX/TeXLive)