fixup! gluon-core: implement popen3() in gluon/util.lua
This commit is contained in:
parent
588d77ddd8
commit
daa95f1ac7
@ -221,7 +221,7 @@ function M.popen3(policies, path, ...)
|
|||||||
|
|
||||||
local pid = posix_unistd.fork()
|
local pid = posix_unistd.fork()
|
||||||
|
|
||||||
if pid < 0 then
|
if pid == nil then
|
||||||
return nil
|
return nil
|
||||||
elseif pid == 0 then
|
elseif pid == 0 then
|
||||||
local null=-1;
|
local null=-1;
|
||||||
|
Loading…
Reference in New Issue
Block a user