[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Creating a directory in a lua script
- From: Frank Küster <frank@...>
- Date: Mon, 25 Jun 2007 18:12:08 +0200
"Alex Queiroz" <asandroq@gmail.com> wrote:
> Hallo,
>
> On 6/25/07, Frank Küster <frank@kuesterei.ch> wrote:
>>
>> 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?
>>
>
> The Lua standard library only cover features present in ANSI C
> and, alas, creating a directory is not one of them. You could use
> something like LuaFileSystem.
Thanks (also to Jan) - and LuaFileSystem is even integrated into luatex,
which I use as the lua interpreter.
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)