mirror of
https://github.com/lune-org/lune.git
synced 2025-04-06 03:20:55 +01:00
7 lines
No EOL
144 B
Lua
7 lines
No EOL
144 B
Lua
local process = require("@lune/process")
|
|
|
|
local a = process.spawn("yes", {})
|
|
|
|
print(a)
|
|
print(buffer.tostring(a.stdout:read()))
|
|
print(a.status()) |