Home
Options

lprun cleanup.

I invoke LPRun.exe from inside an eternal loop in a query that is executed inside LINQPad.exe
After a few days, it runs out of disk space.

The problem is that AppData\Local\Temp\LINQPad quickly grows big.

I can do a cleanup as part of the MasterQuery by getting the folder of executing assembly and Directory.Delete() all of its siblings. However, this is ugly and may disturb other stuff that I'm doing in LINQPad.exe in other tabs than the MasterQuery.

Is there another way? Does LINQPad.exe delete output binaries when a query has completed (and closed so that the result window no longer references objects inside the binaries)? And, if so, can LPRun.exe also do this?

Comments

Sign In or Register to comment.