50
49
raise Exception("%s killed by signal %i" (args[0], -status))
51
50
return stdout, stderr, status
54
53
def patch(patch_contents, filename, output_filename=None, reverse=False):
55
54
"""Apply a patch to a file, to produce another output file. This is should