CompactGUI icon indicating copy to clipboard operation
CompactGUI copied to clipboard

Can't emergency abort the progress

Open hyoretsu opened this issue 2 years ago • 4 comments

First of all, we don't have a cancel button. If you "close" the program during compression, it does close. But its process doesn't. You can't close it, it throws up "Access is denied". If you try to run taskkill /IM CompactGUI.exe /T /F you'll get ERROR: The process with PID 1092 (child process of PID 9660) could not be terminated. Reason: There is no running instance of the task.

If you open Resource monitor, you can find CompactGUI.exe writing a :WofCompressedData to the disk.

hyoretsu avatar Jul 21 '22 00:07 hyoretsu

Pretty sure windows protects it from being closed until it either exits or finishes to keep the file system in a sane state

Masamune3210 avatar Jul 21 '22 20:07 Masamune3210

You're trying to cancel a process right in the middle of it trying to alter the very structure and disk state of the file itself. It's a great way to corrupt everything.

You can close CompactGUI after exiting it, you just have to right click on the system tray icon and hit exit. But to avoid breaking your computer, it will finish compressing the file it's currently working out before exiting.

Iridium-IO avatar Jul 23 '22 00:07 Iridium-IO

And I'm not talking about simply stopping what it's doing, I already corrupted files by simply removing pendrives. But I imagine there's some kind of exit routine to undo what was done and close. (If there isn't this should be closed)

hyoretsu avatar Jul 23 '22 00:07 hyoretsu

Wouldn't it be possible for the program to take an exit order as a "don't wait for the folder to be compressed, just compress this file you're working on and close?" Sorry if this is what an ignorant would say, I'm not aware of what this program does to compress things.

nlguerra2003 avatar Aug 02 '22 20:08 nlguerra2003