daca2: skip --exception-handling to avoid hangs (#8589)
This commit is contained in:
parent
406aa6cf1c
commit
0a0ffcdac6
|
@ -153,8 +153,9 @@ def scanarchive(filepath, jobs, cpulimit):
|
||||||
cmd = 'cpulimit --limit=' + cpulimit
|
cmd = 'cpulimit --limit=' + cpulimit
|
||||||
else:
|
else:
|
||||||
cmd = 'nice --adjustment=1000'
|
cmd = 'nice --adjustment=1000'
|
||||||
|
# TODO: The --exception-handling=stderr is skipped right now because it hangs (#8589)
|
||||||
cmd = cmd + ' ../cppcheck-O2 -D__GCC__ --enable=style --inconclusive --error-exitcode=0 ' +\
|
cmd = cmd + ' ../cppcheck-O2 -D__GCC__ --enable=style --inconclusive --error-exitcode=0 ' +\
|
||||||
'--exception-handling=stderr ' + jobs + ' --template=daca2 .'
|
jobs + ' --template=daca2 .'
|
||||||
cmds = cmd.split()
|
cmds = cmd.split()
|
||||||
|
|
||||||
p = subprocess.Popen(cmds, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
p = subprocess.Popen(cmds, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
|
|
Loading…
Reference in New Issue