fixes #6820
This commit is contained in:
parent
d6d40a2d3c
commit
8aebd38514
1 changed files with 3 additions and 3 deletions
|
|
@ -728,13 +728,13 @@ proc execCmdsInParallel(cmds: seq[string]; prettyCb: proc (idx: int)) =
|
||||||
else:
|
else:
|
||||||
tryExceptOSErrorMessage("invocation of external compiler program failed."):
|
tryExceptOSErrorMessage("invocation of external compiler program failed."):
|
||||||
if optListCmd in gGlobalOptions or gVerbosity > 1:
|
if optListCmd in gGlobalOptions or gVerbosity > 1:
|
||||||
res = execProcesses(cmds, {poEchoCmd, poStdErrToStdOut, poUsePath, poParentStreams},
|
res = execProcesses(cmds, {poEchoCmd, poStdErrToStdOut, poUsePath},
|
||||||
gNumberOfProcessors, afterRunEvent=runCb)
|
gNumberOfProcessors, afterRunEvent=runCb)
|
||||||
elif gVerbosity == 1:
|
elif gVerbosity == 1:
|
||||||
res = execProcesses(cmds, {poStdErrToStdOut, poUsePath, poParentStreams},
|
res = execProcesses(cmds, {poStdErrToStdOut, poUsePath},
|
||||||
gNumberOfProcessors, prettyCb, afterRunEvent=runCb)
|
gNumberOfProcessors, prettyCb, afterRunEvent=runCb)
|
||||||
else:
|
else:
|
||||||
res = execProcesses(cmds, {poStdErrToStdOut, poUsePath, poParentStreams},
|
res = execProcesses(cmds, {poStdErrToStdOut, poUsePath},
|
||||||
gNumberOfProcessors, afterRunEvent=runCb)
|
gNumberOfProcessors, afterRunEvent=runCb)
|
||||||
if res != 0:
|
if res != 0:
|
||||||
if gNumberOfProcessors <= 1:
|
if gNumberOfProcessors <= 1:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue