Forgot to keep extern pragma for execProcesses
This commit is contained in:
parent
49e9332661
commit
c3a4cc87ca
1 changed files with 2 additions and 1 deletions
|
|
@ -237,7 +237,8 @@ proc execProcesses*(cmds: openArray[string],
|
||||||
options = {poStdErrToStdOut, poParentStreams},
|
options = {poStdErrToStdOut, poParentStreams},
|
||||||
n = countProcessors(),
|
n = countProcessors(),
|
||||||
beforeRunEvent: proc(idx: int) = nil): int
|
beforeRunEvent: proc(idx: int) = nil): int
|
||||||
{.rtl, tags: [ExecIOEffect, TimeEffect, ReadEnvEffect, RootEffect]} =
|
{.rtl, extern: "nosp$1",
|
||||||
|
tags: [ExecIOEffect, TimeEffect, ReadEnvEffect, RootEffect]} =
|
||||||
## executes the commands `cmds` in parallel. Creates `n` processes
|
## executes the commands `cmds` in parallel. Creates `n` processes
|
||||||
## that execute in parallel. The highest return value of all processes
|
## that execute in parallel. The highest return value of all processes
|
||||||
## is returned. Runs `beforeRunEvent` before running each command.
|
## is returned. Runs `beforeRunEvent` before running each command.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue