candera / shadowspawn

A Windows utility that mounts a shadow copy of the disk at a drive letter and then spawns an arbitrary command.
MIT License
184 stars 55 forks source link

ShadowSpawn should handle ctrl-break #6

Closed candera closed 13 years ago

candera commented 13 years ago

Background

A user reports in this message that after using ctrl-break to terminate ShadowSpawn prematurely, the drive letter remains mounted and he's unable to recover it. It seems like ShadowSpawn isn't cleaning up after being terminated by ctrl-break.

Expected Behavior

We ought to be able to handle ctrl-c, but I'm not sure there's any way to suppress a ctrl-break.