Closed djpohly closed 11 months ago
The "r+b" mode includes write permission, which isn't needed to execute a script (and was confusing inotify). In addition, the file can be closed right after reading the encoded source, rather than holding it open while decoding.
Thank you. I didn't realize that there was a difference between 'r+b' and 'rb'.
The "r+b" mode includes write permission, which isn't needed to execute a script (and was confusing inotify). In addition, the file can be closed right after reading the encoded source, rather than holding it open while decoding.