Spawned process locks folder (and how to fix)
I recently had a problem where I was starting a process in another folder to update the calling program and the folder was locked. Here is what I was trying to do:
Main program extracts update files to temp directory.
Main program starts update program and closes.
Update program deletes main program directory.
Update program extracts updated main program [...]
