diff options
author | Erwan Ameil <wan@idlewan.com> | 2014-11-02 16:11:17 +0100 |
---|---|---|
committer | Erwan Ameil <wan@idlewan.com> | 2014-11-02 16:11:17 +0100 |
commit | c3a4cc87ca8aac8138da2aa083ac3a68dda98b14 (patch) | |
tree | ed3143ec1cfdf5e8e96e8cae7e5e3538f42e55fe /lib/pure | |
parent | 49e93326615e0201ab2ba031e9aa3a1392818aa9 (diff) | |
download | Nim-c3a4cc87ca8aac8138da2aa083ac3a68dda98b14.tar.gz |
Forgot to keep extern pragma for execProcesses
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/osproc.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index 71ca51764..59eecf88d 100644 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -237,7 +237,8 @@ proc execProcesses*(cmds: openArray[string], options = {poStdErrToStdOut, poParentStreams}, n = countProcessors(), 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 ## that execute in parallel. The highest return value of all processes ## is returned. Runs `beforeRunEvent` before running each command. |