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

DosDevice not deleted when error with CreateProcess #1

Closed kimwolk closed 13 years ago

kimwolk commented 13 years ago

Background

If CreateProcess fails, the application exits prior to deleting the DosDevice.

Expected Behavior

Once a DosDevice is successfully created it should be removed through all remaining paths of the code.