lua-users home
lua-l archive

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




On Wed, May 27, 2009 at 7:33 PM, David Burgess <dburgess@gmail.com> wrote:
Further, here is a minmal list of candidates for osex inclusion:

errno([n])
basename(path)
dirname(path)
files([path])
getcwd()
mkdir(path)
chdir(path)
rmdir(path)
unlink(path)
access(path,[mode])
pipe()
dup(old,[new])

spawn(path,[args])  -- posix spawn can be implemented on win
wait([pid])
kill(pid,[sig])
sleep(seconds)

setenv(name,value,[over])
getenv([name]) */
chmod(path,mode)
chown(path,uid,gid)
utime(path,[mtime,atime])
getpid([options]) */
stat(path,[options])
uname([string])

I know it was mentioned in a post above, but most of this already exists in lua-ex. I know everybody hates they put the functions in the standard tables, so why not make a small change and fix that. What am I missing?
--
Regards,
Ryan