summaryrefslogtreecommitdiff
path: root/tests/test-setsid.lua
blob: c720bd6927442356b8a8bde152f6a8bc46903602 (plain)
1
2
3
4
5
6
7
local l = require "luxio"

local child = l.fork()

if child == 0 then
   print("session ID: " .. l.setsid())
end