Implement cleanup-on-interrupt
authorPeter Collingbourne <peter@pcc.me.uk>
Sun, 13 Nov 2011 05:49:16 +0000 (05:49 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Sat, 4 Feb 2012 21:46:12 +0000 (21:46 +0000)
commit85ff781fa30fff63c01ccd30faaad39d766e1505
treedc5791da4769c61951735e84febcccfa8acf98d2
parentb07e183e0eb6225e34a3d592e3dff63bcf00df81
Implement cleanup-on-interrupt

This causes us to clean up by deleting any output files belonging
to currently-running commands before we quit if we are interrupted
(either by Ctrl-C or by a command failing).

Fixes issue #110.
src/build.cc
src/build.h
src/build_test.cc
src/exit_status.h [new file with mode: 0644]
src/subprocess-win32.cc
src/subprocess.cc
src/subprocess.h
src/subprocess_test.cc