diff options
| author | ruki <[email protected]> | 2020-02-03 22:51:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-07 22:45:56 +0800 |
| commit | cf9970fddd580f8b9bb8ed25d6d9cfa67a607b69 (patch) | |
| tree | 57dda8e994431a59f96f44fec83d416fb4db0db6 /tests | |
| parent | ccfe7ed01bd603f4435ce6463ecf267f49ddd6fe (diff) | |
improve to open process and support pipe
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/modules/process/test.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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") |
