mark
2843236d3f
remove unsetenv()
...
dir() elides "." and ".." entries
ex_dir() internally uses DIR** instead of struct diriter
refactor implementation of ex_pipe()
pass fd instead of FILE* to spawn_param_redirect()
20 years ago
mark
2a126cc65b
fold ex_unsetenv into ex_setenv
...
fold ex_rmdir into ex_remove
use windows_pusherror from Noom
updated for compatibility with Noom.
20 years ago
mark
28c916f72c
added os.remove()
20 years ago
mark
9f03209394
Finally, it works!
20 years ago
mark
7adc71403b
more general cleanup
20 years ago
mark
785c362a9f
A few changes.
20 years ago
mark
465e0c4d57
removed checkuserdata -- use 5.1 luaL_checkudata
...
fix check_file to work with a negative index (luaL_checkudata does not)
refactor spawn.c interface; use spawn_params_init instead of spawn_params_default; spawm_param_execute() creates proc
ex_pipe needs to create FILE* userdata with the __close environment table
20 years ago
mark
8d00b8c7e7
fixed bug in ex_pipe()
...
make_pipe() should produce non-inheritable descriptors/handles
added process_tostring() method
20 years ago
mark
ed9c51ca33
add wait to ex namespace
21 years ago
mark
3c9cbc3761
added check_file function to check for closed FILE*
...
use registry for associating pathname with diriter
21 years ago
mark
8e3b4ac49d
added ex. namespace
...
added __gc metamethod for diriter
21 years ago
mark
27ed0289d4
oops, forgot DIR metatable
21 years ago
mark
39bd1d304a
removed extraneous build options
21 years ago
mark
e77ff05092
Implemented ex_dir and ex_dirent
21 years ago
mark
be8ad39d98
ex_getenv() now supports arbitrarily-sized variables
21 years ago
mark
029c15338d
Refactor ex_pipe and make_pipe
...
Fix bug in w32api/ex.c ex_getenv when handling empty variables
21 years ago
mark
36cb453953
Moved spawn_* functions out of ex.c
21 years ago
mark
ecb5e17609
Renamed this silly blighters.
21 years ago
mark
95bd5a3efc
Closer to merging ...
21 years ago
mark
2ace11ed4c
Attempt to merge implementations
21 years ago
mark
05bc6c5bf9
*** empty log message ***
21 years ago
mark
0abc74ed14
*** empty log message ***
21 years ago
mark
d16e151b56
*** empty log message ***
21 years ago
mark
f67c6aa776
oops, stupid bug.
21 years ago
mark
6a20bb8e99
*** empty log message ***
21 years ago
mark
807a55a3c1
*** empty log message ***
21 years ago
mark
1f58b6c6c2
*** empty log message ***
21 years ago
mark
a31cde3b22
*** empty log message ***
21 years ago
mark
32162cad79
Got os.spawn to work.
21 years ago
mark
82b6681ff2
Added Windows 32 API -style file locking
21 years ago
mark
99b32cb1b4
renamed w32api/osex.c to ex.c
21 years ago
mark
ed861c5bc1
*** empty log message ***
21 years ago
mark
0bb5051ee5
*** empty log message ***
21 years ago
mark
6d26939d9d
*** empty log message ***
21 years ago
mark
aaef3303e0
*** empty log message ***
21 years ago
mark
db85bdacb5
temporary Makefile
21 years ago
mark
4ee70cbe71
*** empty log message ***
21 years ago
mark
e7e76fe13c
21 years ago