(command)
| 124 | process.kill() |
| 125 | |
| 126 | def ClangFormatWorker(command): |
| 127 | try: |
| 128 | # Run unchecked to only flag timeouts. |
| 129 | subprocess.run( |
| 130 | command, stderr=subprocess.PIPE, check=False, timeout=30) |
| 131 | except: |
| 132 | sys.stdout.write(f'Got a clang-format timeout with {command.pop()}\n') |
| 133 | return 1 |
| 134 | return 0 |
| 135 | |
| 136 | def TorqueLintWorker(command): |
| 137 | try: |