diff options
| author | ruki <[email protected]> | 2022-04-15 00:45:16 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-04-15 00:45:16 +0800 |
| commit | 55f541667ccd31e67e61d7eeeeff412552336903 (patch) | |
| tree | 63397ffb88713b8ee28522305c9cc8386b86246e /tests/modules/process | |
| parent | a61b2aa25af04eb75c6628fbb4f867c9a82ae72a (diff) | |
improve pipe mode
Diffstat (limited to 'tests/modules/process')
| -rw-r--r-- | tests/modules/process/sched_process_pipe.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/process/sched_process_pipe.lua b/tests/modules/process/sched_process_pipe.lua index d399c3a3b..eb36c6c20 100644 --- a/tests/modules/process/sched_process_pipe.lua +++ b/tests/modules/process/sched_process_pipe.lua @@ -29,7 +29,7 @@ function _session_read_pipe(id, rpipeopt) end function _session(id, program, ...) - local rpipe, wpipe = pipe.openpair(10) + local rpipe, wpipe = pipe.openpair() local rpipeopt = {rpipe = rpipe, stop = false} scheduler.co_start(_session_read_pipe, id, rpipeopt) local proc = process.openv(program, table.pack(...), {stdout = wpipe}) |
