lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



Why not make this kind of things under some 'nonportable.*' namespace?

I mean, hiding them under 'io.*' is not the optimal solution. To begin with, undocumented features are not optimal anyhow (if someone uses them).

-ak

Tuomo Valkonen kirjoittaa maanantaina, 8. maaliskuuta 2004, kello 14:14:

On Mon, Mar 08, 2004 at 11:56:32AM +0000, Rob Kendrick wrote:
On Mon, 2004-03-08 at 10:01, Enrico Colombini wrote:
On Monday 08 March 2004 09:35, Tuomo Valkonen wrote:
io.popen.
Unfortunately it's not available on all systems.
Neither's the > operator.

Infact, I don't think there is any portable way to redirect the
output of a program to a file, so there's no way to make a portable
(to non-POSIX systems) implementation of io.popen functionality.

--
Tuomo