summaryrefslogtreecommitdiff
path: root/lib/supple/host.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/supple/host.lua')
-rw-r--r--lib/supple/host.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/supple/host.lua b/lib/supple/host.lua
index fe8ccc1..cfaf98b 100644
--- a/lib/supple/host.lua
+++ b/lib/supple/host.lua
@@ -59,8 +59,9 @@ local function run_wrapper()
"supple-sandbox",
exe = wrapperpath,
stdin = fds[1],
--- stdout = fds[1],
--- stderr = fds[1],
+ stdout = -1,
+ stderr = -1,
+ close_in_child = { fds[1], fds[2] },
}
if not proc then
error(msg)