[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- 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.
-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Frank Küster
Sent: segunda-feira, 25 de junho de 2007 09:47
To: lua@bazar2.conectiva.com.br
Subject: Creating a directory in a lua script
Hi,
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?
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ.
Zürich Debian Developer (teTeX/TeXLive)