|
|
|
|
|
by frankchn
1007 days ago
|
|
Isn't that what the second line in the JavaScript snippet does: delete itself while the script is still in use (i.e. running?) In any case, I am not sure the Unix way is the best API design here. Sure, it does help in these scenarios, but now you can have hidden files lying around in the filesystem being used that I can't easily tell are even there. |
|