diff options
author | Araq <rumpf_a@web.de> | 2017-11-28 02:18:23 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-11-28 02:18:23 +0100 |
commit | 8aebd3851467dbef43c151600f787a8f6b35c71a (patch) | |
tree | 846e5fdc28248358f6995c5e8623263d39e45a79 | |
parent | d6d40a2d3cf327c42a9415809a507fe5a9b3507d (diff) | |
download | Nim-8aebd3851467dbef43c151600f787a8f6b35c71a.tar.gz |
fixes #6820
-rw-r--r-- | compiler/extccomp.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index cac3a6e9f..e6b23aae5 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -728,13 +728,13 @@ proc execCmdsInParallel(cmds: seq[string]; prettyCb: proc (idx: int)) = else: tryExceptOSErrorMessage("invocation of external compiler program failed."): if optListCmd in gGlobalOptions or gVerbosity > 1: - res = execProcesses(cmds, {poEchoCmd, poStdErrToStdOut, poUsePath, poParentStreams}, + res = execProcesses(cmds, {poEchoCmd, poStdErrToStdOut, poUsePath}, gNumberOfProcessors, afterRunEvent=runCb) elif gVerbosity == 1: - res = execProcesses(cmds, {poStdErrToStdOut, poUsePath, poParentStreams}, + res = execProcesses(cmds, {poStdErrToStdOut, poUsePath}, gNumberOfProcessors, prettyCb, afterRunEvent=runCb) else: - res = execProcesses(cmds, {poStdErrToStdOut, poUsePath, poParentStreams}, + res = execProcesses(cmds, {poStdErrToStdOut, poUsePath}, gNumberOfProcessors, afterRunEvent=runCb) if res != 0: if gNumberOfProcessors <= 1: |