From cf9970fddd580f8b9bb8ed25d6d9cfa67a607b69 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 3 Feb 2020 22:51:06 +0800 Subject: improve to open process and support pipe --- tests/modules/process/test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/modules/process/test.lua') diff --git a/tests/modules/process/test.lua b/tests/modules/process/test.lua index 24846fd02..8e9e45bd8 100644 --- a/tests/modules/process/test.lua +++ b/tests/modules/process/test.lua @@ -7,7 +7,7 @@ function test_single_process(t) local stdout = os.tmpfile() local stderr = os.tmpfile() for i = 1, 2 do - local proc = process.open("echo -n awd", {outpath = stdout, errpath = stderr}) + local proc = process.open("echo -n awd", {stdout = stdout, stderr = stderr}) proc:wait(inftimeout) proc:close() t:are_equal(io.readfile(stdout), "awd") -- cgit v1.3.1