diff options
| author | ruki <[email protected]> | 2019-08-16 22:32:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-08-16 17:49:18 +0800 |
| commit | 11ae86985a2d2d8811d34eff4bbd37e3582aafc9 (patch) | |
| tree | c23759758dd97390beaa5522b6aec6175b6f81bc /tests/modules | |
| parent | 9588bc931c37322955165eb085c83d6e2dd4fee3 (diff) | |
improve process.open
Diffstat (limited to 'tests/modules')
| -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 aa57a56cc..c5ee27d9f 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 pro = process.open("echo -n awd", stdout, stderr) + local pro = process.open("echo -n awd", {outpath = stdout, errpath = stderr}) process.wait(pro, inftimeout) process.close(pro) t:are_equal(io.readfile(stdout), "awd") |
