mirror of
https://github.com/opnsense/src.git
synced 2026-06-17 04:29:12 -04:00
This allows us to do things like:
```
local fp = assert(fbsd.exec({"ls", "-l"}, true))
local fpout = assert(fp:stdout())
while true do
local line = fpout:read("l")
if not line then break end
print("Read: " .. line)
end
fp:close()
```
The makeman lua rewrite will use it to capture `make showconfig` output
for processing.
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D50539
|
||
|---|---|---|
| .. | ||
| libfreebsd | ||
| libhash | ||
| libjail | ||
| liblyaml | ||
| libucl | ||
| modules | ||
| flua.1 | ||
| linit_flua.c | ||
| Makefile | ||
| Makefile.inc | ||