chmp / cargo-wop

Run cargo on Rust source files without setting up a project
MIT License
1 stars 1 forks source link

Consider copying executable to allow modifying a running script #17

Open chmp opened 3 years ago

chmp commented 3 years ago

On windows executing a binary, will prevent any modification to it. Therefore, a running script cannot be recompiled, since the binary will be locked. One solution would be to copy the file to a temporary location, execute it, and delete it afterwards.