this post was submitted on 07 Dec 2023
1135 points (98.4% liked)
memes
10398 readers
2673 users here now
Community rules
1. Be civil
No trolling, bigotry or other insulting / annoying behaviour
2. No politics
This is non-politics community. For political memes please go to [email protected]
3. No recent reposts
Check for reposts when posting a meme, you can only repost after 1 month
4. No bots
No bots without the express approval of the mods or the admins
5. No Spam/Ads
No advertisements or spam. This is an instance rule and the only way to live.
Sister communities
- [email protected] : Star Trek memes, chat and shitposts
- [email protected] : Lemmy Shitposts, anything and everything goes.
- [email protected] : Linux themed memes
- [email protected] : for those who love comic stories.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Windows gives a permission error if you try to delete or edit a file that's being executed. It has no complaints about moving it though.
This. Sometimes it just doesn't tell you that shit is still running in the background
That'd be fine, though? Not an OS expert but if you move it, the computer knows where it goes any can pause and read/writes and utilize RAM for it's in-use version. But if it tries the same thing when you deleted it, it's going to have nowhere to put the results of whatever it's doing. Also if the computer is just reading a file, it may assume you might not want to delete it.
It's more like it doesn't actually go anywhere on-disk; only the tag in the filesystem pointing to it changes. I'm pretty sure once the program has an open file handle, it doesn't care about the path anymore anyway.