Commit fa6aa614 by Timothée Peignier

Check compiler exit status.

parent 47871894
......@@ -104,4 +104,6 @@ class SubProcessCompiler(CompilerBase):
raise CompilerError(stderr)
if self.verbose:
print(stderr)
if pipe.returncode != 0:
raise CompilerError("Command '%s' returned non-zero exit status %d".format(command, pipe.returncode))
return stdout
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment